%sudo ALL=(ALL) ALL # Allow anyone in the sudo group to shutdown or reboot without a password. %sudo ALL=(ALL) NOPASSWD: /sbin/shutdown, /usr/sbin/shutdown, /sbin/reboot, /usr/sbin/reboot