[sudo-users] Stuck in Cmnd_Alias

Stier, Matthew Matthew.Stier at us.fujitsu.com
Thu Oct 6 06:45:51 MDT 2016

How is the former working.  Are you invoking: /usr/bin/sudo /usr/bin/sudo su - 

How are the later failing?

-----Original Message-----
From: sudo-users [mailto:sudo-users-bounces at sudo.ws] On Behalf Of Leam Hall
Sent: Thursday, October 06, 2016 7:39 AM
To: sudo-users at sudo.ws
Subject: [sudo-users] Stuck in Cmnd_Alias

Trying to move to /etc/sudoers.d files for most everything. Having 
trouble on a CentOS 6 box. What am I missing?


### /etc/sudoers.d/testsudo

# This works:
testsudo       ALL = /usr/bin/sudo su -

# Commenting out the above and changing to a Cmnd_Alias fails.
Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum
Cmnd_Alias YUM_UPDATE = /usr/bin/yum update
testsudo        ALL = SOFTWARE,YUM_UPDATE

sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list