Security of using sudo rather than su?

Felipe Alfaro Solana felipe.alfaro at
Thu Sep 14 18:43:06 UTC 2006

>  >3. Third, I configure sudo so that user's have to supply root password
> (not theirs).
> How do I do this?

Add the "rootpw" option to the Defaults section in /etc/sudoers. For
example mine looks like this:

Defaults        !lecture,tty_tickets,!fqdn,rootpw

As Derek pointed, you should only do this on single-user machines.

More information about the ubuntu-users mailing list