If more than one person is logged in on my computer, Ubuntu requires super user authentication when shutting down the computer. How can I make it so that any user can shutdown the computer without being asked for a password?
Ubuntu – How to make shutdown not require admin password
administrationshutdown
Best Answer
You do not need a workaround, just change the policy to allow you to shut down without authenticating as admin for shutdown and reboot when multiple users are logged in.
Edit the file /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy using your favorite text editor. You will need root permissions.
Change the section relating to shutdown when others are logged in from
to
and the section relating to rebooting when others are logged in from
to
And that will allow you shutdown and reboot the PC when multiple users are logged in. Whether you want to do that is a different question.