Allow a normal user to shutdown

One method of allowing a normal user to shutdown is as follows:

  • Grant the wheel group permission to shutdown via sudo by adding this line to /etc/sudoers: ~~~ %wheel ALL= NOPASSWD: /sbin/shutdown now -h ~~~
  • Add the user to the ‘wheel’ group.

The user can now shut down the computer with:

sudo shutdown now -h

Last modified: 03/10/2013 Tags:

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top