ivytony Posted March 26, 2008 Share Posted March 26, 2008 say I am logged in as root and I want to switch to a lower-level user account, I am wondering how to switch user. I only know 'su -' allows switching to root. Quote Link to comment https://forums.phpfreaks.com/topic/98005-how-to-switch-linux-users-through-ssh/ Share on other sites More sharing options...
rhodesa Posted March 26, 2008 Share Posted March 26, 2008 su - username Quote Link to comment https://forums.phpfreaks.com/topic/98005-how-to-switch-linux-users-through-ssh/#findComment-501449 Share on other sites More sharing options...
trq Posted March 26, 2008 Share Posted March 26, 2008 You shouldn't be loging in anywhere as root either. In fact, I would always recommend disabling root login via ssh. Quote Link to comment https://forums.phpfreaks.com/topic/98005-how-to-switch-linux-users-through-ssh/#findComment-501485 Share on other sites More sharing options...
dotservant.com Posted April 5, 2008 Share Posted April 5, 2008 For security purposes, turn off SSH for root and enable super user on one of the userid for server admin purposes. Quote Link to comment https://forums.phpfreaks.com/topic/98005-how-to-switch-linux-users-through-ssh/#findComment-509835 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.