3

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".

SpashHit
  • 1,456
  • 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 03 '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
  • 1
    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 00:26

2 Answers2

1

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.

0

This should work :

sudo reboot

or:

sudo poweroff

depending what do you need.