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. 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 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. 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. 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
Archived
This topic is now archived and is closed to further replies.