[sudo-users] Using wild cards in a command path

Eric Bradley ebradley4 at csc.com
Mon Jul 28 16:51:10 EDT 2008


Stephen,
I tried what you suggested and got the same results. Any other 
suggestions?
Thanks,
Ric





"Carville, Stephen" <scarville at LANDAM.com> 
07/28/2008 03:34 PM

To
Eric Bradley/GIS/CSC at CSC, <sudo-users at sudo.ws>
cc

Subject
RE: [sudo-users] Using wild cards in a command path






> -----Original Message-----
> From: sudo-users-bounces at courtesan.com [mailto:sudo-users-
> bounces at courtesan.com] On Behalf Of Eric Bradley
> Sent: Monday, July 28, 2008 12:29 PM
> To: sudo-users at sudo.ws
> Subject: [sudo-users] Using wild cards in a command path
> 
> I want to allow user1 and user2 to run any command in the path
> /opt/networker/bin as root. In my sodoers file I have the following:
> 
> User_Alias      U_APP_NETWORKER=user1, user2
> 
> Cmnd_Alias      C_APP_NETWORKER=\
>                 /opt/networker/bin/*

Try this instead (no *):

Cmnd_Alias      C_APP_NETWORKER = /opt/networker/bin/

--
Stephen Carville <scarville at landam.com>
Systems Engineer
Land America
1.626.667.1450 X1326
#####################################################################
That which does not kill us often hurts us a lot.






More information about the sudo-users mailing list