X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=a2dc4025ce1937d4f438eb92c5d48473284469db;hb=f8e2fb7b14e53f5a4bcfd66d26910af1dee185c6;hp=fb5c539d5092caf8341b4fb6da1c40c71a198d55;hpb=9156e799a258658cf3f51434708cdb194c13eaa4;p=elogind.git
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index fb5c539d5..a2dc4025c 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -16,6 +16,16 @@
The systemd Project
http://www.freedesktop.org/wiki/Software/systemd
+
+ <_description>Allow applications to inhibit system shutdown and suspend
+ <_message>Authentication is required to allow an application to inhibit system shutdown or suspend
+
+ auth_admin_keep
+ yes
+ yes
+
+
+
<_description>Allow non-logged-in users to run programs
<_message>Authentication is required to allow a non-logged-in user to run programs
@@ -66,6 +76,16 @@
+
+ <_description>Power off the system when an application asked to inhibit it
+ <_message>Authentication is required to allow powering off the system while an application asked to inhibit it
+
+ auth_admin_keep
+ auth_admin_keep
+ auth_admin_keep
+
+
+
<_description>Reboot the system
<_message>Authentication is required to allow rebooting the system
@@ -86,4 +106,14 @@
+
+ <_description>Reboot the system when an application asked to inhibit it
+ <_message>Authentication is required to allow rebooting the system while an application asked to inhibit it
+
+ auth_admin_keep
+ auth_admin_keep
+ auth_admin_keep
+
+
+