1 <?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
2 <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
3 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
6 This file is part of systemd.
8 systemd is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as published by
10 the Free Software Foundation; either version 2.1 of the License, or
11 (at your option) any later version.
16 <vendor>The systemd Project</vendor>
17 <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
19 <action id="org.freedesktop.login1.inhibit-block-shutdown">
20 <_description>Allow applications to inhibit system shutdown</_description>
21 <_message>Authentication is required to allow an application to inhibit system shutdown.</_message>
23 <allow_any>no</allow_any>
24 <allow_inactive>yes</allow_inactive>
25 <allow_active>yes</allow_active>
29 <action id="org.freedesktop.login1.inhibit-delay-shutdown">
30 <_description>Allow applications to delay system shutdown</_description>
31 <_message>Authentication is required to allow an application to delay system shutdown.</_message>
33 <allow_any>yes</allow_any>
34 <allow_inactive>yes</allow_inactive>
35 <allow_active>yes</allow_active>
39 <action id="org.freedesktop.login1.inhibit-block-sleep">
40 <_description>Allow applications to inhibit system sleep</_description>
41 <_message>Authentication is required to allow an application to inhibit system sleep.</_message>
43 <allow_any>no</allow_any>
44 <allow_inactive>yes</allow_inactive>
45 <allow_active>yes</allow_active>
49 <action id="org.freedesktop.login1.inhibit-delay-sleep">
50 <_description>Allow applications to delay system sleep</_description>
51 <_message>Authentication is required to allow an application to delay system sleep.</_message>
53 <allow_any>yes</allow_any>
54 <allow_inactive>yes</allow_inactive>
55 <allow_active>yes</allow_active>
59 <action id="org.freedesktop.login1.inhibit-block-idle">
60 <_description>Allow applications to inhibit automatic system suspend</_description>
61 <_message>Authentication is required to allow an application to inhibit automatic system suspend.</_message>
63 <allow_any>yes</allow_any>
64 <allow_inactive>yes</allow_inactive>
65 <allow_active>yes</allow_active>
69 <action id="org.freedesktop.login1.inhibit-handle-power-key">
70 <_description>Allow applications to inhibit system handling of the power key</_description>
71 <_message>Authentication is required to allow an application to inhibit system handling of the power key.</_message>
73 <allow_any>no</allow_any>
74 <allow_inactive>yes</allow_inactive>
75 <allow_active>yes</allow_active>
79 <action id="org.freedesktop.login1.inhibit-handle-suspend-key">
80 <_description>Allow applications to inhibit system handling of the suspend key</_description>
81 <_message>Authentication is required to allow an application to inhibit system handling of the suspend key.</_message>
83 <allow_any>no</allow_any>
84 <allow_inactive>yes</allow_inactive>
85 <allow_active>yes</allow_active>
89 <action id="org.freedesktop.login1.inhibit-handle-hibernate-key">
90 <_description>Allow applications to inhibit system handling of the hibernate key</_description>
91 <_message>Authentication is required to allow an application to inhibit system handling of the hibernate key.</_message>
93 <allow_any>no</allow_any>
94 <allow_inactive>yes</allow_inactive>
95 <allow_active>yes</allow_active>
99 <action id="org.freedesktop.login1.inhibit-handle-lid-switch">
100 <_description>Allow applications to inhibit system handling of the lid switch</_description>
101 <_message>Authentication is required to allow an application to inhibit system handling of the lid switch.</_message>
103 <allow_any>no</allow_any>
104 <allow_inactive>yes</allow_inactive>
105 <allow_active>yes</allow_active>
109 <action id="org.freedesktop.login1.set-user-linger">
110 <_description>Allow non-logged-in users to run programs</_description>
111 <_message>Authentication is required to allow a non-logged-in user to run programs.</_message>
113 <allow_any>auth_admin_keep</allow_any>
114 <allow_inactive>auth_admin_keep</allow_inactive>
115 <allow_active>auth_admin_keep</allow_active>
119 <action id="org.freedesktop.login1.attach-device">
120 <_description>Allow attaching devices to seats</_description>
121 <_message>Authentication is required for attaching a device to a seat.</_message>
123 <allow_any>auth_admin_keep</allow_any>
124 <allow_inactive>auth_admin_keep</allow_inactive>
125 <allow_active>auth_admin_keep</allow_active>
129 <action id="org.freedesktop.login1.flush-devices">
130 <_description>Flush device to seat attachments</_description>
131 <_message>Authentication is required for resetting how devices are attached to seats.</_message>
133 <allow_any>auth_admin_keep</allow_any>
134 <allow_inactive>auth_admin_keep</allow_inactive>
135 <allow_active>auth_admin_keep</allow_active>
139 <action id="org.freedesktop.login1.power-off">
140 <_description>Power off the system</_description>
141 <_message>Authentication is required for powering off the system.</_message>
143 <allow_any>auth_admin_keep</allow_any>
144 <allow_inactive>auth_admin_keep</allow_inactive>
145 <allow_active>yes</allow_active>
149 <action id="org.freedesktop.login1.power-off-multiple-sessions">
150 <_description>Power off the system while other users are logged in</_description>
151 <_message>Authentication is required for powering off the system while other users are logged in.</_message>
153 <allow_any>auth_admin_keep</allow_any>
154 <allow_inactive>auth_admin_keep</allow_inactive>
155 <allow_active>auth_admin_keep</allow_active>
159 <action id="org.freedesktop.login1.power-off-ignore-inhibit">
160 <_description>Power off the system while an application asked to inhibit it</_description>
161 <_message>Authentication is required for powering off the system while an application asked to inhibit it.</_message>
163 <allow_any>auth_admin_keep</allow_any>
164 <allow_inactive>auth_admin_keep</allow_inactive>
165 <allow_active>auth_admin_keep</allow_active>
169 <action id="org.freedesktop.login1.reboot">
170 <_description>Reboot the system</_description>
171 <_message>Authentication is required for rebooting the system.</_message>
173 <allow_any>auth_admin_keep</allow_any>
174 <allow_inactive>auth_admin_keep</allow_inactive>
175 <allow_active>yes</allow_active>
179 <action id="org.freedesktop.login1.reboot-multiple-sessions">
180 <_description>Reboot the system while other users are logged in</_description>
181 <_message>Authentication is required for rebooting the system while other users are logged in.</_message>
183 <allow_any>auth_admin_keep</allow_any>
184 <allow_inactive>auth_admin_keep</allow_inactive>
185 <allow_active>auth_admin_keep</allow_active>
189 <action id="org.freedesktop.login1.reboot-ignore-inhibit">
190 <_description>Reboot the system while an application asked to inhibit it</_description>
191 <_message>Authentication is required for rebooting the system while an application asked to inhibit it.</_message>
193 <allow_any>auth_admin_keep</allow_any>
194 <allow_inactive>auth_admin_keep</allow_inactive>
195 <allow_active>auth_admin_keep</allow_active>
199 <action id="org.freedesktop.login1.suspend">
200 <_description>Suspend the system</_description>
201 <_message>Authentication is required for suspending the system.</_message>
203 <allow_any>auth_admin_keep</allow_any>
204 <allow_inactive>auth_admin_keep</allow_inactive>
205 <allow_active>yes</allow_active>
209 <action id="org.freedesktop.login1.suspend-multiple-sessions">
210 <_description>Suspend the system while other users are logged in</_description>
211 <_message>Authentication is required for suspending the system while other users are logged in.</_message>
213 <allow_any>auth_admin_keep</allow_any>
214 <allow_inactive>auth_admin_keep</allow_inactive>
215 <allow_active>yes</allow_active>
219 <action id="org.freedesktop.login1.suspend-ignore-inhibit">
220 <_description>Suspend the system while an application asked to inhibit it</_description>
221 <_message>Authentication is required for suspending the system while an application asked to inhibit it.</_message>
223 <allow_any>auth_admin_keep</allow_any>
224 <allow_inactive>auth_admin_keep</allow_inactive>
225 <allow_active>auth_admin_keep</allow_active>
229 <action id="org.freedesktop.login1.hibernate">
230 <_description>Hibernate the system</_description>
231 <_message>Authentication is required for hibernating the system.</_message>
233 <allow_any>auth_admin_keep</allow_any>
234 <allow_inactive>auth_admin_keep</allow_inactive>
235 <allow_active>yes</allow_active>
239 <action id="org.freedesktop.login1.hibernate-multiple-sessions">
240 <_description>Hibernate the system while other users are logged in</_description>
241 <_message>Authentication is required for hibernating the system while other users are logged in.</_message>
243 <allow_any>auth_admin_keep</allow_any>
244 <allow_inactive>auth_admin_keep</allow_inactive>
245 <allow_active>auth_admin_keep</allow_active>
249 <action id="org.freedesktop.login1.hibernate-ignore-inhibit">
250 <_description>Hibernate the system while an application asked to inhibit it</_description>
251 <_message>Authentication is required for hibernating the system while an application asked to inhibit it.</_message>
253 <allow_any>auth_admin_keep</allow_any>
254 <allow_inactive>auth_admin_keep</allow_inactive>
255 <allow_active>auth_admin_keep</allow_active>