as other user with no password

Matthew Hannigan mlh at
Thu Apr 4 22:26:52 EST 2002

The example in the sudoers manual has the user before

TESTUSERS ALL = (cooldude) NOPASSWD: /bin/testcmd

so try that


Markham, Richard wrote:
> given the below example, you see here that I'm trying to allow nerdboy to
> run /bin/testcmd as cooldude, but with no password.  The binary is owned
> by cooldude.  I get a parse eror,so can someone advise on my syntax?
> #sudoers
> User_Alias TESTUSERS = nerdboy
> TESTUSERS ALL = NOPASSWD: (cooldude) /bin/testcmd

More information about the sudo-users mailing list