somewhat OT: sudo question

JD jd1008 at gmail.com
Fri Sep 10 02:44:25 UTC 2010



On 09/09/2010 07:38 PM, Tom H wrote:
> On Thu, Sep 9, 2010 at 9:59 PM, JD<jd1008 at gmail.com>  wrote:
>> I tried it and I confirm that sudo is broken if
>> the NOPASSWD: is followed by a list of commands.
>> sudo will only allow the user to sudo the specified
>> commands without a password.
>> All other commands are blocked.
>>
>> I think you should open a bug at bugzilla.redhat.com
> sudo will only allow what you specify "/etc/sudoers". If you only
> specify "rajan ALL=(ALL) NOPASSWD: HIBERNATE", rajan will only be able
> to use sudo to run a command in the HIBERNATE command alias. If rajan
> wants to use sudo to run other commands (with or without a password),
> he needs to add "rajan ALL=(ALL) ALL" to "/etc/sudoers".
Two entries to achieve that?
That's lame!


More information about the users mailing list