~achiang/ubuntu/quantal/casper/bug-855556

  • Committer: Alex Chiang
  • Date: 2012-05-18 22:15:22 UTC
  • Revision ID: achiang@canonical.com-20120518221522-k9u0uugst0w576pu
Grant admin polkit privileges to lightdm user (LP: #855556)

During a live session, the 'ubuntu' user is logged in on every VT. However,
we have:

/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy

        org.freedesktop.consolekit.system.restart-multiple-users
                <allow_active>auth_admin_keep</allow_active>
        org.freedesktop.consolekit.system.stop-multiple-users
                <allow_active>auth_admin_keep</allow_active>

Thus, the shutdown and restart items from the Unity greeter's session
indicator are inhibited.

Those items should work, and we can do so by granting admin privileges to
lightdm / unity-greeter, which allows restart and shutdown from the greeter
screen.

We already grant admin privileges to the default user in the live session,
so allowing the user to shutdown from the live session's greeter screen
should be considered conceptually similar.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 1 18 years ago Matt Zimmerman tag of matt.zimmerman@canonical.com--2004/casper-- Diff
casper-md5check 53.1.1 18 years ago Tollef Fog Heen initial shot at md5 checking support Diff
caspermon 1 18 years ago Matt Zimmerman tag of matt.zimmerman@canonical.com--2004/casper-- Diff
conf-hooks.d 692 14 years ago Colin Watson Tell mkinitramfs that casper needs usplash (LP: #4 Diff
conf.d 531 15 years ago Luke Yelavich * Merge Oliver's changes: * add compcache conf.d Diff
debian 1 18 years ago Matt Zimmerman tag of matt.zimmerman@canonical.com--2004/casper-- Diff
hooks 248 17 years ago Tollef Fog Heen rearrange source package a bit Diff
scripts 248 17 years ago Tollef Fog Heen rearrange source package a bit Diff
ubiquity-hooks 194.1.2 18 years ago Colin Watson * espresso is being renamed to ubiquity. Rename es Diff
casper.conf 1030 12 years ago Package Import Robot [ Sergey "Shnatsel" Davidoff ] * Comment on the re 437 bytes Diff Download File
COPYING 494 16 years ago Colin Watson * Add COPYING file with GPL text (LP: #211923). 17.5 KB Diff Download File
Makefile 684 14 years ago Colin Watson Upgrade to debhelper v7. 406 bytes Diff Download File