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

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

Appreciate any feedback on this.


Manny Soriano

More information about the sudo-users mailing list