From eecd1362f7f4de432483b5d77c56726c3621a83a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 5 May 2012 00:34:48 +0200 Subject: logind: implement delay inhibitor locks in addition to block inhibitor locks This is useful to allow applications to synchronously save data before the system is suspended or shut down. --- src/login/org.freedesktop.login1.policy.in | 32 ++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'src/login/org.freedesktop.login1.policy.in') diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index a2dc4025ce..76ed2bea38 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 + <_message>Authentication is required to allow an application to inhibit system shutdown or suspend. auth_admin_keep yes @@ -26,9 +26,19 @@ + + <_description>Allow applications to delay system shutdown and suspend + <_message>Authentication is required to allow an application to delay system shutdown or suspend. + + yes + 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 + <_message>Authentication is required to allow a non-logged-in user to run programs. auth_admin_keep auth_admin_keep @@ -38,7 +48,7 @@ <_description>Allow attaching devices to seats - <_message>Authentication is required to allow attaching a device to a seat + <_message>Authentication is required to allow attaching a device to a seat. auth_admin_keep auth_admin_keep @@ -48,7 +58,7 @@ <_description>Flush device to seat attachments - <_message>Authentication is required to allow resetting how devices are attached to seats + <_message>Authentication is required to allow resetting how devices are attached to seats. auth_admin_keep auth_admin_keep @@ -58,7 +68,7 @@ <_description>Power off the system - <_message>Authentication is required to allow powering off the system + <_message>Authentication is required to allow powering off the system. auth_admin_keep auth_admin_keep @@ -68,7 +78,7 @@ <_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 + <_message>Authentication is required to allow powering off the system while other users are logged in. auth_admin_keep auth_admin_keep @@ -78,7 +88,7 @@ <_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 + <_message>Authentication is required to allow powering off the system while an application asked to inhibit it. auth_admin_keep auth_admin_keep @@ -88,7 +98,7 @@ <_description>Reboot the system - <_message>Authentication is required to allow rebooting the system + <_message>Authentication is required to allow rebooting the system. auth_admin_keep auth_admin_keep @@ -98,7 +108,7 @@ <_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 + <_message>Authentication is required to allow rebooting the system while other users are logged in. auth_admin_keep auth_admin_keep @@ -108,7 +118,7 @@ <_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 + <_message>Authentication is required to allow rebooting the system while an application asked to inhibit it. auth_admin_keep auth_admin_keep -- cgit v1.2.3-54-g00ecf