Mattison, Jacob on 25 Feb 2004 14:53:02 -0000


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

RE: [PLUG] sudoers file



> -----Original Message-----
> From: plug-admin@lists.phillylinux.org
> [mailto:plug-admin@lists.phillylinux.org]On Behalf Of eric@lucii.org
> Sent: Wednesday, February 25, 2004 9:49 AM
> To: PLUG
> Subject: [PLUG] sudoers file
> 
> 
> Anybody have any experience with the sudoers file?
> I've tried man, info, and google - all with the same result :-(
> 
> 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
> 
> but every time I exit, I see this:
> 
> >>> sudoers file: syntax error, line 25 <<<
> What now? 

I believe you can do 

	admin		NOPASSWD: /bin/tar


Jacob
___________________________________________________________________________
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