2011-06-17 00:15:02 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
|
|
|
|
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
|
|
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
|
|
|
|
|
|
|
<!--
|
2017-11-18 18:18:16 +01:00
|
|
|
SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
|
2011-06-17 00:15:02 +02:00
|
|
|
This file is part of systemd.
|
|
|
|
|
|
|
|
systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02:00
|
|
|
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
|
2011-06-17 00:15:02 +02:00
|
|
|
(at your option) any later version.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<policyconfig>
|
|
|
|
|
|
|
|
<vendor>The systemd Project</vendor>
|
|
|
|
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
|
|
|
|
|
2012-09-18 01:16:23 +02:00
|
|
|
<action id="org.freedesktop.login1.inhibit-block-shutdown">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to inhibit system shutdown</description>
|
|
|
|
<message>Authentication is required for an application to inhibit system shutdown.</message>
|
2012-04-16 16:47:33 +02:00
|
|
|
<defaults>
|
2012-09-19 13:10:10 +02:00
|
|
|
<allow_any>no</allow_any>
|
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.inhibit-delay-shutdown org.freedesktop.login1.inhibit-block-sleep org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle</annotate>
|
2012-09-19 13:10:10 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.inhibit-delay-shutdown">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to delay system shutdown</description>
|
|
|
|
<message>Authentication is required for an application to delay system shutdown.</message>
|
2012-09-19 13:10:10 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>yes</allow_any>
|
2012-04-16 16:47:33 +02:00
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.inhibit-delay-sleep</annotate>
|
2012-04-16 16:47:33 +02:00
|
|
|
</action>
|
|
|
|
|
2012-09-18 01:16:23 +02:00
|
|
|
<action id="org.freedesktop.login1.inhibit-block-sleep">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to inhibit system sleep</description>
|
|
|
|
<message>Authentication is required for an application to inhibit system sleep.</message>
|
2012-09-18 01:16:23 +02:00
|
|
|
<defaults>
|
2012-09-19 13:10:10 +02:00
|
|
|
<allow_any>no</allow_any>
|
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle</annotate>
|
2012-09-19 13:10:10 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.inhibit-delay-sleep">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to delay system sleep</description>
|
|
|
|
<message>Authentication is required for an application to delay system sleep.</message>
|
2012-09-19 13:10:10 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>yes</allow_any>
|
2012-09-18 01:16:23 +02:00
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.inhibit-block-idle">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to inhibit automatic system suspend</description>
|
|
|
|
<message>Authentication is required for an application to inhibit automatic system suspend.</message>
|
2012-09-18 01:16:23 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>yes</allow_any>
|
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2012-09-19 13:10:10 +02:00
|
|
|
<action id="org.freedesktop.login1.inhibit-handle-power-key">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to inhibit system handling of the power key</description>
|
|
|
|
<message>Authentication is required for an application to inhibit system handling of the power key.</message>
|
2012-09-18 01:16:23 +02:00
|
|
|
<defaults>
|
2012-09-19 13:10:10 +02:00
|
|
|
<allow_any>no</allow_any>
|
2012-09-18 01:16:23 +02:00
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.inhibit-handle-suspend-key org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch</annotate>
|
2012-09-18 01:16:23 +02:00
|
|
|
</action>
|
|
|
|
|
2012-09-21 15:44:14 +02:00
|
|
|
<action id="org.freedesktop.login1.inhibit-handle-suspend-key">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to inhibit system handling of the suspend key</description>
|
|
|
|
<message>Authentication is required for an application to inhibit system handling of the suspend key.</message>
|
2012-09-21 15:44:14 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>no</allow_any>
|
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch</annotate>
|
2012-09-21 15:44:14 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.inhibit-handle-hibernate-key">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to inhibit system handling of the hibernate key</description>
|
|
|
|
<message>Authentication is required for an application to inhibit system handling of the hibernate key.</message>
|
2012-09-18 01:16:23 +02:00
|
|
|
<defaults>
|
2012-09-19 13:10:10 +02:00
|
|
|
<allow_any>no</allow_any>
|
2012-09-18 01:16:23 +02:00
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2012-09-19 13:10:10 +02:00
|
|
|
<action id="org.freedesktop.login1.inhibit-handle-lid-switch">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow applications to inhibit system handling of the lid switch</description>
|
|
|
|
<message>Authentication is required for an application to inhibit system handling of the lid switch.</message>
|
2012-05-05 00:34:48 +02:00
|
|
|
<defaults>
|
2012-09-19 13:10:10 +02:00
|
|
|
<allow_any>no</allow_any>
|
2012-05-05 00:34:48 +02:00
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2016-04-13 04:52:28 +02:00
|
|
|
<action id="org.freedesktop.login1.set-self-linger">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow non-logged-in user to run programs</description>
|
|
|
|
<message>Explicit request is required to run programs as a non-logged-in user.</message>
|
2016-04-13 04:52:28 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>yes</allow_any>
|
2016-05-28 11:03:03 +02:00
|
|
|
<allow_inactive>yes</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
2016-04-13 04:52:28 +02:00
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2011-06-28 03:52:22 +02:00
|
|
|
<action id="org.freedesktop.login1.set-user-linger">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow non-logged-in users to run programs</description>
|
|
|
|
<message>Authentication is required to run programs as a non-logged-in user.</message>
|
2011-06-17 00:15:02 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2011-06-28 20:50:43 +02:00
|
|
|
<action id="org.freedesktop.login1.attach-device">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow attaching devices to seats</description>
|
|
|
|
<message>Authentication is required for attaching a device to a seat.</message>
|
2011-06-28 20:50:43 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.flush-devices</annotate>
|
2011-06-28 20:50:43 +02:00
|
|
|
</action>
|
|
|
|
|
2011-06-29 03:12:23 +02:00
|
|
|
<action id="org.freedesktop.login1.flush-devices">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Flush device to seat attachments</description>
|
|
|
|
<message>Authentication is required for resetting how devices are attached to seats.</message>
|
2011-07-15 01:52:52 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.power-off">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Power off the system</description>
|
|
|
|
<message>Authentication is required for powering off the system.</message>
|
2011-07-15 01:52:52 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
2015-08-24 14:54:22 +02:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.set-wall-message</annotate>
|
2011-07-15 01:52:52 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.power-off-multiple-sessions">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Power off the system while other users are logged in</description>
|
|
|
|
<message>Authentication is required for powering off the system while other users are logged in.</message>
|
2011-07-15 01:52:52 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
2013-02-06 14:24:56 +01:00
|
|
|
<allow_active>yes</allow_active>
|
2011-07-15 01:52:52 +02:00
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.power-off</annotate>
|
2011-07-15 01:52:52 +02:00
|
|
|
</action>
|
|
|
|
|
2012-04-16 16:47:33 +02:00
|
|
|
<action id="org.freedesktop.login1.power-off-ignore-inhibit">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Power off the system while an application asked to inhibit it</description>
|
|
|
|
<message>Authentication is required for powering off the system while an application asked to inhibit it.</message>
|
2012-04-16 16:47:33 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.power-off</annotate>
|
2012-04-16 16:47:33 +02:00
|
|
|
</action>
|
|
|
|
|
2011-07-15 01:52:52 +02:00
|
|
|
<action id="org.freedesktop.login1.reboot">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Reboot the system</description>
|
|
|
|
<message>Authentication is required for rebooting the system.</message>
|
2011-07-15 01:52:52 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
2015-08-24 14:54:22 +02:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.set-wall-message</annotate>
|
2011-07-15 01:52:52 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.reboot-multiple-sessions">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Reboot the system while other users are logged in</description>
|
|
|
|
<message>Authentication is required for rebooting the system while other users are logged in.</message>
|
2011-06-29 03:12:23 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
2013-09-26 20:31:37 +02:00
|
|
|
<allow_active>yes</allow_active>
|
2011-06-29 03:12:23 +02:00
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.reboot</annotate>
|
2011-06-29 03:12:23 +02:00
|
|
|
</action>
|
|
|
|
|
2012-04-16 16:47:33 +02:00
|
|
|
<action id="org.freedesktop.login1.reboot-ignore-inhibit">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Reboot the system while an application asked to inhibit it</description>
|
|
|
|
<message>Authentication is required for rebooting the system while an application asked to inhibit it.</message>
|
2012-05-08 19:02:25 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.reboot</annotate>
|
2012-05-08 19:02:25 +02:00
|
|
|
</action>
|
|
|
|
|
logind: add Halt() and CanHalt() APIs
This adds new method calls Halt() and CanHalt() to the logind bus APIs.
They aren't overly useful (as the whole concept of halting isn't really
too useful), however they clean up one major asymmetry: currently, using
the "shutdown" legacy commands it is possibly to enqueue a "halt"
operation through logind, while logind officially doesn't actually
support this. Moreover, the path through "shutdown" currently ultimately
fails, since the referenced "halt" action isn't actually defined in
PolicyKit.
Finally, the current logic results in an unexpected asymmetry in
systemctl: "systemctl poweroff", "systemctl reboot" are currently
asynchronous (due to the logind involvement) while "systemctl halt"
isnt. Let's clean this up, and make all three APIs implemented by
logind natively, and all three hence asynchronous in "systemctl".
Moreover, let's add the missing PK action.
Fixes: #6957
2017-10-02 16:03:55 +02:00
|
|
|
<action id="org.freedesktop.login1.halt">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Halt the system</description>
|
|
|
|
<message>Authentication is required for halting the system.</message>
|
logind: add Halt() and CanHalt() APIs
This adds new method calls Halt() and CanHalt() to the logind bus APIs.
They aren't overly useful (as the whole concept of halting isn't really
too useful), however they clean up one major asymmetry: currently, using
the "shutdown" legacy commands it is possibly to enqueue a "halt"
operation through logind, while logind officially doesn't actually
support this. Moreover, the path through "shutdown" currently ultimately
fails, since the referenced "halt" action isn't actually defined in
PolicyKit.
Finally, the current logic results in an unexpected asymmetry in
systemctl: "systemctl poweroff", "systemctl reboot" are currently
asynchronous (due to the logind involvement) while "systemctl halt"
isnt. Let's clean this up, and make all three APIs implemented by
logind natively, and all three hence asynchronous in "systemctl".
Moreover, let's add the missing PK action.
Fixes: #6957
2017-10-02 16:03:55 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.set-wall-message</annotate>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.halt-multiple-sessions">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Halt the system while other users are logged in</description>
|
|
|
|
<message>Authentication is required for halting the system while other users are logged in.</message>
|
logind: add Halt() and CanHalt() APIs
This adds new method calls Halt() and CanHalt() to the logind bus APIs.
They aren't overly useful (as the whole concept of halting isn't really
too useful), however they clean up one major asymmetry: currently, using
the "shutdown" legacy commands it is possibly to enqueue a "halt"
operation through logind, while logind officially doesn't actually
support this. Moreover, the path through "shutdown" currently ultimately
fails, since the referenced "halt" action isn't actually defined in
PolicyKit.
Finally, the current logic results in an unexpected asymmetry in
systemctl: "systemctl poweroff", "systemctl reboot" are currently
asynchronous (due to the logind involvement) while "systemctl halt"
isnt. Let's clean this up, and make all three APIs implemented by
logind natively, and all three hence asynchronous in "systemctl".
Moreover, let's add the missing PK action.
Fixes: #6957
2017-10-02 16:03:55 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.halt</annotate>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.halt-ignore-inhibit">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Halt the system while an application asked to inhibit it</description>
|
|
|
|
<message>Authentication is required for halting the system while an application asked to inhibit it.</message>
|
logind: add Halt() and CanHalt() APIs
This adds new method calls Halt() and CanHalt() to the logind bus APIs.
They aren't overly useful (as the whole concept of halting isn't really
too useful), however they clean up one major asymmetry: currently, using
the "shutdown" legacy commands it is possibly to enqueue a "halt"
operation through logind, while logind officially doesn't actually
support this. Moreover, the path through "shutdown" currently ultimately
fails, since the referenced "halt" action isn't actually defined in
PolicyKit.
Finally, the current logic results in an unexpected asymmetry in
systemctl: "systemctl poweroff", "systemctl reboot" are currently
asynchronous (due to the logind involvement) while "systemctl halt"
isnt. Let's clean this up, and make all three APIs implemented by
logind natively, and all three hence asynchronous in "systemctl".
Moreover, let's add the missing PK action.
Fixes: #6957
2017-10-02 16:03:55 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.halt</annotate>
|
|
|
|
</action>
|
|
|
|
|
2012-05-08 19:02:25 +02:00
|
|
|
<action id="org.freedesktop.login1.suspend">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Suspend the system</description>
|
|
|
|
<message>Authentication is required for suspending the system.</message>
|
2012-05-08 19:02:25 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.suspend-multiple-sessions">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Suspend the system while other users are logged in</description>
|
|
|
|
<message>Authentication is required for suspending the system while other users are logged in.</message>
|
2012-05-08 19:02:25 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
2012-07-26 15:56:36 +02:00
|
|
|
<allow_active>yes</allow_active>
|
2012-05-08 19:02:25 +02:00
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.suspend</annotate>
|
2012-05-08 19:02:25 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.suspend-ignore-inhibit">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Suspend the system while an application asked to inhibit it</description>
|
|
|
|
<message>Authentication is required for suspending the system while an application asked to inhibit it.</message>
|
2012-05-08 19:02:25 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.suspend</annotate>
|
2012-05-08 19:02:25 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.hibernate">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Hibernate the system</description>
|
|
|
|
<message>Authentication is required for hibernating the system.</message>
|
2012-05-08 19:02:25 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.hibernate-multiple-sessions">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Hibernate the system while other users are logged in</description>
|
|
|
|
<message>Authentication is required for hibernating the system while other users are logged in.</message>
|
2012-05-08 19:02:25 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
2014-05-15 18:30:07 +02:00
|
|
|
<allow_active>yes</allow_active>
|
2012-05-08 19:02:25 +02:00
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.hibernate</annotate>
|
2012-05-08 19:02:25 +02:00
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.hibernate-ignore-inhibit">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Hibernate the system while an application asked to inhibit it</description>
|
|
|
|
<message>Authentication is required for hibernating the system while an application asked to inhibit it.</message>
|
2012-04-16 16:47:33 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
2012-12-25 11:36:37 +01:00
|
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.hibernate</annotate>
|
2012-04-16 16:47:33 +02:00
|
|
|
</action>
|
|
|
|
|
2015-02-18 12:55:25 +01:00
|
|
|
<action id="org.freedesktop.login1.manage">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Manage active sessions, users and seats</description>
|
|
|
|
<message>Authentication is required for managing active sessions, users and seats.</message>
|
2015-02-18 12:55:25 +01:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action id="org.freedesktop.login1.lock-sessions">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Lock or unlock active sessions</description>
|
|
|
|
<message>Authentication is required to lock or unlock active sessions.</message>
|
2015-02-18 12:55:25 +01:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2015-04-03 18:03:06 +02:00
|
|
|
<action id="org.freedesktop.login1.set-reboot-to-firmware-setup">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Allow indication to the firmware to boot to setup interface</description>
|
|
|
|
<message>Authentication is required to indicate to the firmware to boot to setup interface.</message>
|
2015-04-03 18:03:06 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2015-08-24 14:54:22 +02:00
|
|
|
<action id="org.freedesktop.login1.set-wall-message">
|
2017-11-13 13:30:39 +01:00
|
|
|
<description>Set a wall message</description>
|
|
|
|
<message>Authentication is required to set a wall message</message>
|
2015-08-24 14:54:22 +02:00
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin_keep</allow_any>
|
|
|
|
<allow_inactive>auth_admin_keep</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2011-06-17 00:15:02 +02:00
|
|
|
</policyconfig>
|