[sudo-users] Limiting permissions to specific files and or directories

spearsjd417 at comcast.net spearsjd417 at comcast.net
Tue Sep 28 11:47:11 EDT 2004

Is it possible to limit the cmd alias to only apply to specific files and or directories.
Cmnd_Alias      FILE = /usr/bin/chmod 
Change it to
Cmnd_Alias      FILE = /usr/bin/chmod /somedirectory/somefile.txt
To allow the user to chmod, but only on this unique file.
For my purposes this could be a very useable action.
Thanks in advance for any assistance
John Spears
spearsjd417 at comcast.net

More information about the sudo-users mailing list