Don’t require sudo for reboot or shutdown

Refer: https://unix.stackexchange.com/questions/85663/poweroff-or-reboot-as-normal-user

$ sudo gedit /etc/sudoers

Add the following line:

mruckman ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff

Leave a Reply