git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/localfs/etc/sudoers.d/shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'localfs/etc/sudoers.d/shutdown')
-rw-r--r--localfs/etc/sudoers.d/shutdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/localfs/etc/sudoers.d/shutdown b/localfs/etc/sudoers.d/shutdown
new file mode 100644
index 0000000..4fbe5bd
--- /dev/null
+++ b/localfs/etc/sudoers.d/shutdown
@@ -0,0 +1 @@
+%wheel ALL=(ALL) NOPASSWD:/sbin/reboot,/sbin/poweroff,/bin/systemctl reboot,/bin/systemctl poweroff,/sbin/shutdown -r now,/sbin/shutdown -P now