Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I make shutdown not require admin password?

When I'm logged in on my own account and try to do Restart or Shutdown from the "Power" menu, while others are also logged in, all that happens is that I get logged out. Everyone else stays logged in and the computer does not shut down. If I try to then do "Shutdown" or "Restart" from the Login screen, nothing happens.

In case it matters, in Users Settings, my Account Type is "Administrator", but everyone else is "Desktop User".

share|improve this question

marked as duplicate by Marco Ceppi Oct 4 '11 at 12:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You only have Administrator privileges when you authentic a task that only an administrator can authorise. Otherwise, we are Desktop Users like everyone else. And that includes Restart and Shutdown working like Switch User. – grahammechanical Oct 3 '11 at 14:27
Is it possible to configure Ubuntu to ask for superuser password, when i try to shutdown using menu, when multiple users are logged in, rather than act like Logout? – Mikl Dec 22 '11 at 21:39
This is not a duplicate! I would be fine if it asked for an admin password.... instead it just does nothing! – SpashHit Dec 26 '11 at 0:26

You can enable that by using PolicyKit. It used to be installed by default, but it no longer is. There is a setting to allow some users to shut down the system while other users are logged in. Please remember that you will delete all of the other users unsaved work, so you shouldn't do this even if you can.

share|improve this answer

This should work :

sudo reboot


sudo poweroff

depending what do you need.

share|improve this answer
OK, but I would prefer if I could get it to work from the menu – SpashHit Oct 3 '11 at 12:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.