Add sbin line for sudoers

This commit is contained in:
flyingscorpio@arch-desktop 2021-09-29 22:14:15 +02:00
parent 83f86e8f65
commit 6115a91575

View file

@ -1,3 +1,4 @@
## Use "sudo {shutdown,reboot,halt}" without needing a password.
$USER ALL=(root) NOPASSWD:/usr/bin/reboot,/usr/bin/halt,/usr/bin/shutdown
$USER ALL=(root) NOPASSWD:/usr/sbin/reboot,/usr/sbin/halt,/usr/sbin/shutdown