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 General Public License as published by
10 the Free Software Foundation; either version 2 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.set-user-linger">
20 <_description>Allow non-logged-in users to run programs</_description>
21 <_message>Authentication is required to allow a non-logged-in user to run programs</_message>
23 <allow_any>auth_admin_keep</allow_any>
24 <allow_inactive>auth_admin_keep</allow_inactive>
25 <allow_active>auth_admin_keep</allow_active>
29 <action id="org.freedesktop.login1.attach-device">
30 <_description>Allow attaching devices to seats</_description>
31 <_message>Authentication is required to allow attaching a device to a seat</_message>
33 <allow_any>auth_admin_keep</allow_any>
34 <allow_inactive>auth_admin_keep</allow_inactive>
35 <allow_active>auth_admin_keep</allow_active>
39 <action id="org.freedesktop.login1.flush-devices">
40 <_description>Flush device to seat attachments</_description>
41 <_message>Authentication is required to allow resetting how devices are attached to seats</_message>
43 <allow_any>auth_admin_keep</allow_any>
44 <allow_inactive>auth_admin_keep</allow_inactive>
45 <allow_active>auth_admin_keep</allow_active>
49 <action id="org.freedesktop.login1.power-off">
50 <_description>Power off the system</_description>
51 <_message>Authentication is required to allow powering off the system</_message>
53 <allow_any>auth_admin_keep</allow_any>
54 <allow_inactive>auth_admin_keep</allow_inactive>
55 <allow_active>yes</allow_active>
59 <action id="org.freedesktop.login1.power-off-multiple-sessions">
60 <_description>Power off the system when other users are logged in</_description>
61 <_message>Authentication is required to allow powering off the system while other users are logged in</_message>
63 <allow_any>auth_admin_keep</allow_any>
64 <allow_inactive>auth_admin_keep</allow_inactive>
65 <allow_active>auth_admin_keep</allow_active>
69 <action id="org.freedesktop.login1.reboot">
70 <_description>Reboot the system</_description>
71 <_message>Authentication is required to allow rebooting the system</_message>
73 <allow_any>auth_admin_keep</allow_any>
74 <allow_inactive>auth_admin_keep</allow_inactive>
75 <allow_active>yes</allow_active>
79 <action id="org.freedesktop.login1.reboot-multiple-sessions">
80 <_description>Reboot the system when other users are logged in</_description>
81 <_message>Authentication is required to allow rebooting the system while other users are logged in</_message>
83 <allow_any>auth_admin_keep</allow_any>
84 <allow_inactive>auth_admin_keep</allow_inactive>
85 <allow_active>auth_admin_keep</allow_active>