X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=57dfb2a8b63eb5473d1b027cd3090fa38ac05a13;hp=8422645b808fb752404828605aa0623969a859a5;hb=8e7fd6ade44ce5dde0867ba748c7978ed1206865;hpb=d889a2069a87e4617b32ddbdeace5a53a12c699d diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index 8422645b8..57dfb2a8b 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -16,19 +16,49 @@ 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. + + <_description>Allow applications to inhibit system shutdown + <_message>Authentication is required to allow an application to inhibit system shutdown. - auth_admin_keep + no + yes + yes + + + + + <_description>Allow applications to delay system shutdown + <_message>Authentication is required to allow an application to delay system shutdown. + + yes + yes + yes + + + + + <_description>Allow applications to inhibit system sleep + <_message>Authentication is required to allow an application to inhibit system sleep. + + no + yes + yes + + + + + <_description>Allow applications to delay system sleep + <_message>Authentication is required to allow an application to delay system sleep. + + yes yes yes - - <_description>Allow applications to delay system shutdown and suspend - <_message>Authentication is required to allow an application to delay system shutdown or suspend. + + <_description>Allow applications to inhibit automatic system suspend + <_message>Authentication is required to allow an application to inhibit automatic system suspend. yes yes @@ -36,6 +66,46 @@ + + <_description>Allow applications to inhibit system handling of the power key + <_message>Authentication is required to allow an application to inhibit system handling of the power key. + + no + yes + yes + + + + + <_description>Allow applications to inhibit system handling of the suspend key + <_message>Authentication is required to allow an application to inhibit system handling of the suspend key. + + no + yes + yes + + + + + <_description>Allow applications to inhibit system handling of the hibernate key + <_message>Authentication is required to allow an application to inhibit system handling of the hibernate key. + + no + yes + yes + + + + + <_description>Allow applications to inhibit system handling of the lid switch + <_message>Authentication is required to allow an application to inhibit system handling of the lid switch. + + no + 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. @@ -142,7 +212,7 @@ auth_admin_keep auth_admin_keep - auth_admin_keep + yes