You can also create a file like "sudo_shutdown" in /etc/sudoers.d, with content:
# Allow admins to shutdown without pass%adm ALL=(ALL) NOPASSWD: /sbin/shutdown
This allows users which are in the adm group to shutdown without a password.
You can also create a file like "sudo_shutdown" in /etc/sudoers.d, with content:
# Allow admins to shutdown without pass%adm ALL=(ALL) NOPASSWD: /sbin/shutdown
This allows users which are in the adm group to shutdown without a password.