Using sudo to deny chown/chmod recursively

Using sudo to deny chown/chmod recursively

Secure Home | Search | About
 General Computer Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Using sudo to deny chown/chmod recursively sldghmr 07-08-2005
Posted by sldghmr on July 8, 2005, 8:15 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Howdy Group,

I'm trying to tighten up security on a RHEL 3 box I have and would like
to deny the chown'ing and chmod'ing of an entire directory. Is there a
way to tell sudo to NOT allow any changes to be made recursively on a
directory? Something like

/usr/sbin/chown *, !/usr/sbin/chown -R <directory>
?

TIA for any help,

Ray



Posted by sldghmr on July 8, 2005, 9:12 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Actually, I think I mis-stated what I'm really trying to do here. I'd
like to define an entire directory (and all subdirectories) as not
being able to be chown'd/chmod'd.

Is that possible?



Similar ThreadsPosted
does Windows XP have a hosts.deny? March 12, 2005, 5:56 am
Deny non-ssl access for login web pages May 28, 2006, 11:12 pm
Deny network access if virus defs not up-to-date April 20, 2005, 12:04 am

The site map in XML format XML site map

Contact Us | Privacy Policy