Allow sudo group to run shutdown commands.
This commit is contained in:
@@ -1,2 +1,5 @@
|
|||||||
|
|
||||||
%sudo ALL=(ALL) ALL
|
%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
|
||||||
|
|||||||
Reference in New Issue
Block a user