X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=970adbeff2157af75e0518af1762e8659cf0de3f;hb=67445f4e22ad924394acdd4fd49e6f238244a5ca;hp=76ed2bea38b10b810b00dddbc9eb8d51dcb646f7;hpb=eecd1362f7f4de432483b5d77c56726c3621a83a;p=elogind.git diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index 76ed2bea3..970adbeff 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -16,9 +16,9 @@ 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 yes @@ -26,9 +26,49 @@ - - <_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 system sleep + <_message>Authentication is required to allow an application to inhibit system sleep. + + auth_admin_keep + yes + yes + + + + + <_description>Allow applications to inhibit automatic system suspend + <_message>Authentication is required to allow an application to inhibit automatic system suspend. + + yes + 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 delay system sleep + <_message>Authentication is required to allow an application to delay system sleep. + + yes + yes + yes + + + + + <_description>Allow applications to delay automatic system suspend + <_message>Authentication is required to allow an application to delay automatic system suspend. yes yes @@ -48,7 +88,7 @@ <_description>Allow attaching devices to seats - <_message>Authentication is required to allow attaching a device to a seat. + <_message>Authentication is required for attaching a device to a seat. auth_admin_keep auth_admin_keep @@ -58,7 +98,7 @@ <_description>Flush device to seat attachments - <_message>Authentication is required to allow resetting how devices are attached to seats. + <_message>Authentication is required for resetting how devices are attached to seats. auth_admin_keep auth_admin_keep @@ -68,7 +108,7 @@ <_description>Power off the system - <_message>Authentication is required to allow powering off the system. + <_message>Authentication is required for powering off the system. auth_admin_keep auth_admin_keep @@ -77,8 +117,8 @@ - <_description>Power off the system when other users are logged in - <_message>Authentication is required to allow powering off the system while other users are logged in. + <_description>Power off the system while other users are logged in + <_message>Authentication is required for powering off the system while other users are logged in. auth_admin_keep auth_admin_keep @@ -87,8 +127,8 @@ - <_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. + <_description>Power off the system while an application asked to inhibit it + <_message>Authentication is required for powering off the system while an application asked to inhibit it. auth_admin_keep auth_admin_keep @@ -98,7 +138,7 @@ <_description>Reboot the system - <_message>Authentication is required to allow rebooting the system. + <_message>Authentication is required for rebooting the system. auth_admin_keep auth_admin_keep @@ -107,8 +147,8 @@ - <_description>Reboot the system when other users are logged in - <_message>Authentication is required to allow rebooting the system while other users are logged in. + <_description>Reboot the system while other users are logged in + <_message>Authentication is required for rebooting the system while other users are logged in. auth_admin_keep auth_admin_keep @@ -117,8 +157,68 @@ - <_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. + <_description>Reboot the system while an application asked to inhibit it + <_message>Authentication is required for rebooting the system while an application asked to inhibit it. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Suspend the system + <_message>Authentication is required for suspending the system. + + auth_admin_keep + auth_admin_keep + yes + + + + + <_description>Suspend the system while other users are logged in + <_message>Authentication is required for suspending the system while other users are logged in. + + auth_admin_keep + auth_admin_keep + yes + + + + + <_description>Suspend the system while an application asked to inhibit it + <_message>Authentication is required for suspending the system while an application asked to inhibit it. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Hibernate the system + <_message>Authentication is required for hibernating the system. + + auth_admin_keep + auth_admin_keep + yes + + + + + <_description>Hibernate the system while other users are logged in + <_message>Authentication is required for hibernating the system while other users are logged in. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Hibernate the system while an application asked to inhibit it + <_message>Authentication is required for hibernating the system while an application asked to inhibit it. auth_admin_keep auth_admin_keep