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=b96d32d526ecebfbca4557b9ea737b8daec6646f;hp=a2dc4025ce1937d4f438eb92c5d48473284469db;hb=fa041593fe04b12ffd7e81d8b3598a7a6f313fb3;hpb=f8e2fb7b14e53f5a4bcfd66d26910af1dee185c6 diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index a2dc4025c..b96d32d52 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -16,11 +16,96 @@ 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 + + org.freedesktop.login1.inhibit-delay-shutdown org.freedesktop.login1.inhibit-block-sleep org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle + + + + <_description>Allow applications to delay system shutdown + <_message>Authentication is required to allow an application to delay system shutdown. + + yes + yes + yes + + org.freedesktop.login1.inhibit-delay-sleep + + + + <_description>Allow applications to inhibit system sleep + <_message>Authentication is required to allow an application to inhibit system sleep. + + no + yes + yes + + org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle + + + + <_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 inhibit automatic system suspend + <_message>Authentication is required to allow an application to inhibit automatic system suspend. + + yes + yes + yes + + + + + <_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 + + org.freedesktop.login1.inhibit-handle-suspend-key org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch + + + + <_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 + + org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch + + + + <_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 @@ -28,7 +113,7 @@ <_description>Allow non-logged-in users to run programs - <_message>Authentication is required to allow a non-logged-in user to run programs + <_message>Authentication is required to allow a non-logged-in user to run programs. auth_admin_keep auth_admin_keep @@ -38,17 +123,18 @@ <_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 auth_admin_keep + org.freedesktop.login1.flush-devices <_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 @@ -58,7 +144,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 @@ -67,28 +153,30 @@ - <_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 - auth_admin_keep + yes + org.freedesktop.login1.power-off - <_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 auth_admin_keep + org.freedesktop.login1.power-off <_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 @@ -97,23 +185,89 @@ - <_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 - auth_admin_keep + yes + org.freedesktop.login1.reboot - <_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 + + org.freedesktop.login1.reboot + + + + <_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 + + org.freedesktop.login1.suspend + + + + <_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 + + org.freedesktop.login1.suspend + + + + <_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 + + org.freedesktop.login1.hibernate + + + + <_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 auth_admin_keep + org.freedesktop.login1.hibernate