PolicyKit does not allow you to reboot when others are logged in

Bug #1036737 reported by James M. Leddy
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
policykit-desktop-privileges (Ubuntu)
Confirmed
Low
Unassigned
Quantal
Won't Fix
Low
Unassigned

Bug Description

Hi,

The default behavior for someone trying to reboot or even shutdown a system when someone else is logged in is to just to log them out kick them back to the login screen, without even explaining. For instance, I set up two separate accounts on my then girlfriend's machine. She was an admin, I was not. Whenever I would use the machine, I would log in, sometimes I forgot to log out. Then, as a novice user, she would not be able to shutdown the machine. I wound up having to teach her how to open a terminal and issue 'sudo poweroff' in order for her to override it.

We've received a request to change this for an OEM, and on their pre-install images we have a policy that allows you to power off even if someone else is logged in. We used the instructions here: http://ubuntuforums.org/showpost.php?p=11901595&postcount=7

I'd like to get this into Ubuntu proper, seems like policykit-desktop-privileges is the perfect place for it.

Revision history for this message
James M. Leddy (jm-leddy) wrote :

Just tested, this branch works for me.

tags: added: blocks-hwcert-enablement
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in policykit-desktop-privileges (Ubuntu):
status: New → Confirmed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

@James: can you propose a merge request from your branch to the policykit one, please?

tags: removed: rls-q-incoming
Revision history for this message
LiohMoeller (liohmoeller) wrote :

Why do you think this should be the default behavior. If another user is logged in, the system should of course prevent a reboot or shutdown.

tags: removed: blocks-hwcert-enablement
Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in policykit-desktop-privileges (Ubuntu Quantal):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.