Exclude Command

Manny Soriano Manny.Soriano at headstrong.com
Thu Nov 28 06:13:15 EST 2002


Hello there,

Just wanted to ask how to properly exclude a specific command.  Below is a
line in the /etc/sudoers however I cannot deny /usr/bin/rm to be executed by
user2:

user1 ALL = (user2)        ALL, !/usr/bin/rm/

Appreciate any feedback on this.

Thanks!

Manny Soriano



More information about the sudo-users mailing list