desktop-base-openmamba/etc/sudoers.d/dnf

6 lines
204 B
Plaintext

# 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