[sudo-users] Restricting the execution of commands to a specific directory tree?

Anna Jones amacmurray at msn.com
Thu Feb 5 21:38:52 EST 2009

Hi All,

I need to configure a user called web to execute the following commands "rm, chmod, chgrp" on the specific directory tree "/usr/local/apache2/htdocs" using sudo.  I don't want web to be able to use these commands on any other system directories.  Does any one know how to configure this with visudo?

Thank you for you support.
Please reply to all so I can get this at work.


More information about the sudo-users mailing list