gabriel rosenkoetter on 25 Feb 2004 14:54:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] sudoers file


On Wed, Feb 25, 2004 at 09:48:35AM -0500, eric@lucii.org wrote:
> I want a user, admin, to be able to run /bin/tar without passwords
> so I "visudo" and enter this line (as suggested in the references:
> 
>   admin     ALL=/bin/tar    NOPASSWD: ALL

Not sure which reference gave you this, but it's wrong.

Try this:

  admin ALL = NOPASSWD: /bin/tar

(You're putting the command in the wrong place.)

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgpMsgYjxgAJu.pgp
Description: PGP signature