Security of using sudo rather than su?

Thilo Six T.Six at
Thu Sep 14 13:47:09 UTC 2006

Adam Funk wrote the following on 14.09.2006 13:58:
> On 2006-09-14, Dennis Kaarsemaker <dennis at> wrote:
>>> Default config on most distribution for sshd deactivate root login.
>> We're talking about Ubuntu here.
> I just checked my /etc/ssh/sshd_config:
> #PermitRootLogin yes
> PermitRootLogin no
> which raises the question, why in the world does the default config
> that allow root logins?  (I know you're not supposed to use the root
> account, but doesn't that just mean that the password is random?)

man passwd:

-l, --lock
              Lock the named account. This option disables an account by
              changing the password to a value which matches no possible
              encrypted value.

bye Thilo
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: Ox4A411E09

More information about the ubuntu-users mailing list