[Bug 1310845] [NEW] systemd-logind is not honoring polickykit rules for suspend/reboot/shutdown

William Van Hevelingen 1310845 at bugs.launchpad.net
Mon Apr 21 23:21:32 UTC 2014


Public bug reported:

systemd-logind is not honoring policy-kit rules put in place to prevent
users from suspending, hibernatoring, or shuting down machines. These
rules worked in Precise.


moss:~# cat /etc/polkit-1/localauthority/20-org.d/20-edu.pdx.cat.power.them.pkla 
[deny-them-poweroff]
Identity=unix-group:*;
Action=org.freedesktop.consolekit.*;

ResultActive=no

moss:~# cat /etc/polkit-1/localauthority/20-org.d/20-org.freedesktop.upower.suspend.pkla 
[deny-them-suspend]
Identity=unix-group:*;
Action=org.freedesktop.consolekit.*;

ResultActive=no

moss:~# cat //etc/polkit-1/localauthority/20-org.d/20-org.freedesktop.upower.hibernate.pkla 
[deny-them-hibernate]
Identity=unix-group:*;
Action=org.freedesktop.consolekit.*;

ResultActive=no

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1310845

Title:
  systemd-logind is not honoring polickykit rules for
  suspend/reboot/shutdown

Status in “systemd” package in Ubuntu:
  New

Bug description:
  systemd-logind is not honoring policy-kit rules put in place to
  prevent users from suspending, hibernatoring, or shuting down
  machines. These rules worked in Precise.

  
  moss:~# cat /etc/polkit-1/localauthority/20-org.d/20-edu.pdx.cat.power.them.pkla 
  [deny-them-poweroff]
  Identity=unix-group:*;
  Action=org.freedesktop.consolekit.*;

  ResultActive=no

  moss:~# cat /etc/polkit-1/localauthority/20-org.d/20-org.freedesktop.upower.suspend.pkla 
  [deny-them-suspend]
  Identity=unix-group:*;
  Action=org.freedesktop.consolekit.*;

  ResultActive=no

  moss:~# cat //etc/polkit-1/localauthority/20-org.d/20-org.freedesktop.upower.hibernate.pkla 
  [deny-them-hibernate]
  Identity=unix-group:*;
  Action=org.freedesktop.consolekit.*;

  ResultActive=no

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1310845/+subscriptions



More information about the foundations-bugs mailing list