It's not possible to create a user who can shut down the system without being in "admin"-group
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-
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.