blob: 647cc64852efb14a7d98247b006670ed9a3d4b67 (
plain)
1
2
3
4
5
6
7
8
9
|
%maint ALL=(ALL) NOPASSWD:/usr/bin/dnf --refresh -y upgrade --color true, /usr/bin/dnf makecache, /usr/bin/dnf check-update
%maint ALL=(ALL) NOPASSWD:/usr/bin/dnf check-upgrade, /usr/bin/snap refresh, /usr/bin/needs-restarting, /usr/bin/dnf needs-restarting -C --color true,/usr/bin/dnf needs-restarting -r
# Using -C -q instead of -Cq because yum sucks at this. dnf can cope with it, but in case of
# moving forth to a yum-only system...
%maint ALL=(ALL) NOPASSWD:/usr/bin/dnf -q makecache,/usr/bin/dnf -C -q check-upgrade
%maint ALL=(ALL) NOPASSWD:/usr/bin/dnf makecache,/usr/bin/dnf -C check-upgrade
%maint ALL=(ALL) NOPASSWD:/usr/bin/dnf -q -y upgrade,/usr/bin/dnf -y upgrade
%maint ALL=(ALL) NOPASSWD:/usr/sbin/shutdown -P +1,/usr/sbin/poweroff,/usr/sbin/reboot
%maint ALL=(ALL) NOPASSWD:/usr/bin/dnf needs-restarting -C -r --color true, /usr/bin/dnf needs-restarting -C
|