[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sudo-users
Subject:    Re: full access on perticular folder
From:       mlh () zip ! com ! au
Date:       2003-04-29 14:34:01
Message-ID: 20030430003401.31915ea6.mlh () zip ! com ! au
[Download RAW message or body]

On Tue, 29 Apr 2003 18:43:26 +0530
"Sadananda B Rai" <srai@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.

Matt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic