9 lines
422 B
Plaintext
9 lines
422 B
Plaintext
# allow wheel users to run power commands with no passwd
|
|
%wheel ALL=(ALL:ALL) NOPASSWD: /bin/systemctl suspend
|
|
%wheel ALL=(ALL:ALL) NOPASSWD: /bin/systemctl hibernate
|
|
%wheel ALL=(ALL:ALL) NOPASSWD: /bin/systemctl hybrid-sleep
|
|
%wheel ALL=(ALL:ALL) NOPASSWD: /bin/systemctl poweroff
|
|
%wheel ALL=(ALL:ALL) NOPASSWD: /bin/systemctl reboot
|
|
%wheel ALL=(ALL:ALL) NOPASSWD: /bin/shutdown
|
|
%wheel ALL=(ALL:ALL) NOPASSWD: /bin/reboot
|