X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=92c0a4d324f69c7c424824540d75bfc320b7ce45;hb=490d99e9bf949a855ff9183465f2c265777a3272;hp=adc904886d23bd82d71e8b6f08e08d6e501480ae;hpb=4deba285591ad2a388496d9c017da25e68db6f30;p=elogind.git diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index adc904886..92c0a4d32 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -6,8 +6,8 @@ This file is part of systemd. systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. --> @@ -16,9 +16,29 @@ 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 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 @@ -28,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 for attaching a device to a seat. auth_admin_keep auth_admin_keep @@ -38,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 for resetting how devices are attached to seats. auth_admin_keep auth_admin_keep @@ -48,7 +68,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 @@ -57,8 +77,18 @@ - <_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 + + + + + <_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 @@ -68,7 +98,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 @@ -77,8 +107,78 @@ - <_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 + + + + + <_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