[Wylug-discuss] Sudo

j.lander at leeds.ac.uk j.lander at leeds.ac.uk
Fri Apr 11 16:33:18 BST 2008


> Anyway, you can still get what you want with sudo -- add this line to
> /etc/sudoers:
>
>  Defaults runaspw
>
> That'll make sudo prompt for the root password (or that of which ever
> user is being sudo-ed to) rather than your own.

Careful about that.

If I recall correctly, Ubuntu derivatives do not give the root account a 
valid password.

It *might* also go things with groups to further restrict access.

Replacing NOPASSWD: with PASSWD: is safer under these circumstances.

- Jason



More information about the Wylug-discuss mailing list