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

Salatiel Filho salatiel.filho at gmail.com
Tue Jan 20 13:09:55 EST 2009

Ok. I need to be more specific :)
It is an embedded system running busybox. su from busybox is not suid
, so i can not run su without caling sudo first :)

On Tue, Jan 20, 2009 at 11:57,  <christian.peper at kpn.com> wrote:
>> -----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.
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users


"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".

More information about the sudo-users mailing list