chiark / gitweb /
Prep v221: Update and clean up build system to sync with upstream
[elogind.git] / src / core / org.freedesktop.systemd1.policy.in.in
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">
4
5 <!--
6   This file is part of systemd.
7
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.
12 -->
13
14 <policyconfig>
15
16         <vendor>The systemd Project</vendor>
17         <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
18
19         <action id="org.freedesktop.systemd1.reply-password">
20                 <_description>Send passphrase back to system</_description>
21                 <_message>Authentication is required to send the entered passphrase back to the system.</_message>
22                 <defaults>
23                         <allow_any>no</allow_any>
24                         <allow_inactive>no</allow_inactive>
25                         <allow_active>auth_admin_keep</allow_active>
26                 </defaults>
27                 <annotate key="org.freedesktop.policykit.exec.path">@rootlibexecdir@/systemd-reply-password</annotate>
28         </action>
29
30         <action id="org.freedesktop.systemd1.manage-units">
31                 <_description>Manage system services or other units</_description>
32                 <_message>Authentication is required to manage system services or other units.</_message>
33                 <defaults>
34                         <allow_any>auth_admin</allow_any>
35                         <allow_inactive>auth_admin</allow_inactive>
36                         <allow_active>auth_admin_keep</allow_active>
37                 </defaults>
38         </action>
39
40         <action id="org.freedesktop.systemd1.manage-unit-files">
41                 <_description>Manage system service or unit files</_description>
42                 <_message>Authentication is required to manage system service or unit files.</_message>
43                 <defaults>
44                         <allow_any>auth_admin</allow_any>
45                         <allow_inactive>auth_admin</allow_inactive>
46                         <allow_active>auth_admin_keep</allow_active>
47                 </defaults>
48         </action>
49
50         <action id="org.freedesktop.systemd1.set-environment">
51                 <_description>Set or unset system and service manager environment variables</_description>
52                 <_message>Authentication is required to set or unset system and service manager environment variables.</_message>
53                 <defaults>
54                         <allow_any>auth_admin</allow_any>
55                         <allow_inactive>auth_admin</allow_inactive>
56                         <allow_active>auth_admin_keep</allow_active>
57                 </defaults>
58         </action>
59
60         <action id="org.freedesktop.systemd1.reload-daemon">
61                 <_description>Reload the systemd state</_description>
62                 <_message>Authentication is required to reload the systemd state.</_message>
63                 <defaults>
64                         <allow_any>auth_admin</allow_any>
65                         <allow_inactive>auth_admin</allow_inactive>
66                         <allow_active>auth_admin_keep</allow_active>
67                 </defaults>
68         </action>
69
70 </policyconfig>