[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sudo and passwordless root



Hi,

i quite like the way Ubuntu is setup to not allow root to log in and provide a user with root privileges via sudo.

I think i can figure the sudo part out:
  root ALL=(ALL) ALL
  mylogin ALL = NOPASSWD: ALL

This sudoers file excerpt would allow mylogin to do rootstuff.
How does one disable root login? Is it via setting the shell to say /bin/false?
Deleting the shadow password is another thing to be done i guess.
Any other things to do/consider?

Thanks,
Benedict



Reply to: