sudoers.d/dnf: rename and update obsolete yum file
This commit is contained in:
parent
0581cc31b0
commit
a331089bff
5
etc/sudoers.d/dnf
Normal file
5
etc/sudoers.d/dnf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# DNF install/update without password for sysadmin or packager groups
|
||||||
|
Cmnd_Alias DNF_CMD = /usr/bin/dnf update, /usr/bin/dnf install *
|
||||||
|
|
||||||
|
%packager ALL = NOPASSWD: DNF_CMD
|
||||||
|
%sysadmin ALL = NOPASSWD: DNF_CMD
|
@ -1,5 +0,0 @@
|
|||||||
# 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
|
|
Loading…
Reference in New Issue
Block a user