Excluding commands

Richard C. Dempsey dempsey at kodak.com
Mon Sep 25 15:54:24 EDT 2000


Sometimes the command is available in more than one directory.
For example, ls can be had both from /usr/bin/ls and from /bin/ls.
Try using the find command to see where else the command is located.
It'd be quicker just to review the user's PATH.

Rich

At 02:37 PM 9/25/00 -0400, del.fanty at sungard.com wrote:
>
>
>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
>
>
>____________________________________________________________ 
>sudo-users mailing list <sudo-users at courtesan.com>
>For list information, options, or to unsubscribe, visit:
>http://www.courtesan.com/mailman/listinfo/sudo-users
>
>

Richard C. Dempsey                 email: dempsey at kodak.com
Public Online Services             pager: 716-975-3539
11th Floor, Bldg 83, RL            phone: 716-477-3457
Eastman Kodak Company              fax:   716-722-3885
Rochester, NY 14650-2203



More information about the sudo-users mailing list