[OT] sudo, why not su?

John Nilsson john at milsson.nu
Sun Aug 7 21:06:50 UTC 2005


On sön, 2005-08-07 at 20:08 +0100, Magnus Therning wrote:
> Now, what I wonder is if there is a way to set up your system such that
> the following is possible:
> 
>  usr1$ su -c cmd
>  Password: <pwd1>

john at newkid:~$ sudo su - -c whoami
Password:
root

Does that do what you want?

/John





More information about the ubuntu-users mailing list