*** This bug is a duplicate of bug 1310845 ***
    https://bugs.launchpad.net/bugs/1310845

They changed the suspend and hibernate rules to be under login1.

Try the following:

# cat /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend.pkla
[Disable suspend by default]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultActive=no
 
[Disable suspend for all sessions]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=no

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

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to