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
After doing some cleanup, it looks like shutdown was starting to take a long time. Did the following figuration change.
Refer: https://blog.imposeren.org/2016/11/how-to-fix-ubuntu-1604-hangs-or-very.html
$ sudo edit /etc/systemd/system.conf
Uncomment the following line and change it from 10 seconds to 5 seconds
[Manager]
DefaultTimeoutStopSec=5s