Hey all,

Sorry to bombard you with another question, but I'd just like to know
how I'd write it in my /etc/sudoers file if I wanted a certain user to
be able to chmod and chown directories and contents only in specific
directories which s/he doesn't necessarily own.

Say I only want a user to chmod and chown ALL directories and files
within /var/www, and all files and directories in there are owned by
user root and group root.  I don't want it owned by anyone else.

I already tried things such as

/bin/chmod * /var/www/*
/bin/chmod /var/www/[A-z]*

but they don't work.


TIA!

-- 
Joon Guillen


================================
So computers are tools of the Devil? thought Newt.  He had no problem
believing it.  Computers had to be the tools of _somebody_, and he knew
for certain that it definitely wasn't him.

from "Good Omens", Neil Gaiman & Terry Pratchett

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to