Re: can sudoer grant access to just some of a directoy?
From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 07/30/05
- Previous message: andrewfpalmer_at_gmail.com: "can sudoer grant access to just some of a directoy?"
- In reply to: andrewfpalmer_at_gmail.com: "can sudoer grant access to just some of a directoy?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Jul 2005 18:19:35 -0500
On Fri, 29 Jul 2005 14:42:57 -0700, andrewfpalmer wrote:
> Trying to allow user's to write to certain parts of a directory such as
> /etc/tomcat but not to other areas in /etc. Is this possible to do using
> sudo access?
You don't need sudo for this. Change the group owner of these
protected entities to a new group "foo-changers" and then chgrp the
resources you want to protect. Edit the "/etc/groups" file, using
whatever tool seems best for you, adding those users you want to have
write access.
That's what file permissions are all about.
Cheers
- Previous message: andrewfpalmer_at_gmail.com: "can sudoer grant access to just some of a directoy?"
- In reply to: andrewfpalmer_at_gmail.com: "can sudoer grant access to just some of a directoy?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]