Linux.com

Re:One question...

Posted by: Anonymous Coward on March 30, 2007 08:22 PM
If you use sudo you are correct. Ubuntu forces the use of sudo by not having a root password but only limited accounts are allowed to use sudo.

In this case you would be better to allow the remote login into an unprivileged user account which cannot use sudo. If the user needs to run system commands they can su into another account using that account's password before being able to issue root commands with sudo and using the same account password.

#

Return to Advanced SSH security tips and tricks