Editing /etc/sudoers from setup script confuses me, as we're tracking configurations with puppet and we try to keep /etc/sudoers clean. Please, consider moving sudoers configuration of spacewalk to /etc/sudoers.d/
Yes, this is a valid request. Just note RHEL5 does not support /etc/sudoers.d/ configuration ... # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.10 Beta (Tikanga) # ll /etc/sudo* -d -r--r----- 1 root root 4555 Aug 22 19:11 /etc/sudoers
RHEL5 doesn't have it enabled, but with 1.7.2 (which is what RHEL5 currently uses) the '#include' directive is available. See http://www.sudo.ws/pipermail/sudo-announce/2009-July/000080.html I'd like to see this RFE realised too.
This RFE has been implemented in Spacewalk 2.7 by commit 6e6699ff0d2ad9ceeff738b43ab4c0b55958d275 move sudoers configuration to /etc/sudoers.d/spacewalk instead of editing system sudoers file