[sudo-users] Stuck in Cmnd_Alias

Leam Hall leamhall at gmail.com
Thu Oct 6 06:38:56 MDT 2016

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


More information about the sudo-users mailing list