diff --git a/etc/sudoers.d/yum b/etc/sudoers.d/yum new file mode 100644 index 0000000..2e91b31 --- /dev/null +++ b/etc/sudoers.d/yum @@ -0,0 +1,5 @@ +# Yum install/update without password for sysadmin or packager groups +Cmnd_Alias YUM_CMD = /usr/bin/yum update, /usr/bin/yum install * + +%packager ALL = NOPASSWD: YUM_CMD +%sysadmin ALL = NOPASSWD: YUM_CMD