It's not possible to create a user who can shut down the system without being in "admin"-group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit-gnome (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: policykit-gnome
I'm working with Ubuntu Intrepid Ibex which runs policykit 0.9. I tried to configure my system in a way so that other a user "foo" can shut down the system while other users are logged into my system. But user "foo" should not be inside the admin-group. He should only be able to shut down the system in the case other user are logged into it.
To do this i ran polkit-
org.freedesktop
org.freedesktop
Even after i restarted the whole machine my second user can't shut down the system. When i try to do a shutdown via the fast-user-switch applet the user get's logged out and i switch to a user user who is also logged into the system. When i try to shutdown the system via "System -> Shut Down" inside the panel i can only choose user who are inside the admin-group.
I attached screenshot with the right i set.
There are a few problems with what you're trying to do. Firstly, you're adjusting the privileges on the wrong actions. The actions you want to adjust are:
org.freedesktop .consolekit. system. stop-multiple- users .consolekit. system. restart- multiple- users
org.freedesktop
Also, the fast-user- switch- applet in Intrepid has no Policykit support, and so will not work anyway. This is now fixed in Jaunty.
This should all work properly in Jaunty, so I'm going to close this bug.