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