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

Technical notes, and other ideas.
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