somewhat OT: sudo question

Tom H tomh0665 at
Fri Sep 10 02:38:52 UTC 2010

On Thu, Sep 9, 2010 at 9:59 PM, JD <jd1008 at> 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

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".

More information about the users mailing list