full access on perticular folder
mthompson at ed.umuc.edu
Tue Apr 29 08:59:16 EDT 2003
I don't know how you have your sudoers set up, but couldn't you just
assign this user only commands in the /var directory. listing each
command separately, or are there too many to list?
Herbert Wengatz wrote:
> Perhaps you have more in mind to "chroot" his environment?
> Read the manpage (man chroot) for chroot and think about it.
> IMHO it's not done (or even doable?) with sudo.
> srai at zeomega.com wrote:
>> Hello All,
>> As I am new to Linux, I need some help on sudo. I am using
>> sudo and
>> it's working fine. Right now I have one user called "rai" who can do
>> anything as root using sudo.
>> But, This user work full time only on his home folder and
>> /var, I
>> want something like he can run all the commands as root only in
>> /var/* and
>> he should not be able to run anywhere else as sudo. Sudo should allow
>> commands as root only in /var/*. I tried googling but didn't get more on
>> this. Is anybody can help me or is if my concept is wrong any other
>> suggestions appreciated. Thanks in advance
>> sudo-users mailing list <sudo-users at sudo.ws>
>> For list information, options, or to unsubscribe, visit:
> Unix is the only operating system, where 'more magic' really works.
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
University of Maryland
Office Hours: 0800-1800 Monday - Friday, CET
E-mail address: mthompson at ed.umuc.edu
DSN Phone: 370-6762
CIV Phone: Germany (+49)-(0)6221-378282 or 378282
FAX: Germany (+49)-(0)6221-378388
More information about the sudo-users