[sudo-users] Ask root password only for one command

christian.peper at kpn.com christian.peper at kpn.com
Tue Jan 20 09:57:25 EST 2009


> -----Original Message-----
> From: sudo-users-bounces at courtesan.com 
> [mailto:sudo-users-bounces at courtesan.com] On Behalf Of Salatiel Filho
> Sent: Tuesday, January 20, 2009 2:45 PM
> To: sudo-users at sudo.ws
> Subject: [sudo-users] Ask root password only for one command
> 
> Is there a way to make ONE user needs type root password for 
> just one command of his list of allower commands ?
> Example:
> User nobody can run ifup , ifdown , ifconfig but i also want 
> to be able to make nopbody run "sudo su -" but in this case i 
> need to type root password instead of nobody''s password .

If you want to allow a user to switch to root if he/she enters the root
passwd... There is no need to use sudo! :)
Just do 'su -' type root passwd and be root.

The whole idea of sudo is NOT knowing the root passwd?
Right? Or am I misunderstanding your question?

Chris.



More information about the sudo-users mailing list