Excluding commands

del.fanty at sungard.com del.fanty at sungard.com
Mon Sep 25 14:37:24 EDT 2000

I was trying to exclude certain commands from being executed by a particular
user by using the !.  I defined the Cmnd_Alias and the user in the User
priviledge section of the sudoers file, but the user can still execute the
command.  I'm I doing this wrong?  Thank you.

Cmnd_Alias     XX = /usr/bin

user123             ALL = ALL, !XX

More information about the sudo-users mailing list