Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux shutdown no password

Cmnd_Alias SHUTDOWN_CMDS = /sbin/poweroff, /sbin/halt, /sbin/reboot
bob ALL=(ALL) NOPASSWD: SHUTDOWN_CMDS
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #linux #shutdown #password
ADD COMMENT
Topic
Name
5+4 =