Chris on 25 Feb 2004 15:05:03 -0000


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

RE: [PLUG] sudoers file


And to add more commands 

admin ALL = NOPASSWD: /bin/tar,/bin/rm,/sbin/reboot


-chris
www.jynx.net


-----Original Message-----
From: plug-admin@lists.phillylinux.org
[mailto:plug-admin@lists.phillylinux.org] On Behalf Of gabriel
rosenkoetter
Sent: Wednesday, February 25, 2004 9:53 AM
To: plug@lists.phillylinux.org
Subject: 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

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug