Added sudoers file for yum

This commit is contained in:
Silvan Calarco 2019-04-02 18:19:38 +02:00
parent 6ec43e895d
commit ec536cd9a6

5
etc/sudoers.d/yum Normal file
View File

@ -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