full access on perticular folder

mlh at zip.com.au mlh at zip.com.au
Tue Apr 29 10:34:01 EDT 2003

On Tue, 29 Apr 2003 18:43:26 +0530
"Sadananda B Rai" <srai at zeomega.com> wrote:
> User_Alias FULLTIME = rai,test
> FULLTIME  ALL = (ALL)  PASSWD: /bin/* /var/*, /usr/local/bin/* /var/*
> it works on some commands. For example "sudo tar xvzf /var/test.tgz"
> Sorry, user rai is not allowed to execute 'sudo tar xvzf /var/test.tgz' as
> root on server.
>  Need more help on this. if this works I am fine.
Sudo applies to commands, not the files or dirs that the 
commands act on.  You should use normal unix permissions
or acls to do what you want.  Have a read of the manual
pages for chmod, setfacl and getfacl.


More information about the sudo-users mailing list