Created
February 7, 2015 19:09
-
-
Save schlomo/183524530d17d6a888d0 to your computer and use it in GitHub Desktop.
PolicyKit Local Authority policy to disable suspend and hibernate for all users. Should be installed into /var/lib/polkit-1/localauthority/90-mandatory.d or /etc/polkit-1/localauthority/90-mandatory.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Completely disable suspend and hibernate] | |
Identity=unix-user:* | |
Action=org.freedesktop.upower.suspend;org.freedesktop.upower.hibernate;org.freedesktop.login1.suspend*;org.freedesktop.login1.hibernate* | |
ResultAny=no | |
ResultInactive=no | |
ResultActive=no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment