From 4ce049b3ea288b419d492f48330f8664e09d30c0 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 24 Jul 2026 12:46:26 -0700 Subject: [PATCH] Allow sudo group to run shutdown commands. --- files/sudo/sudoers_sudo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/sudo/sudoers_sudo b/files/sudo/sudoers_sudo index 7f90c37..f0ddd3b 100644 --- a/files/sudo/sudoers_sudo +++ b/files/sudo/sudoers_sudo @@ -1,2 +1,5 @@ %sudo ALL=(ALL) ALL + +# Allow anyone in the sudo group to shutdown or reboot without a password. +%sudo ALL=(ALL) NOPASSWD: /usr/sbin/shutdown, /usr/sbin/reboot