]>
Commit | Line | Data |
---|---|---|
490aed58 LP |
1 | <?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*--> |
2 | <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" | |
41d6f3bf | 3 | "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> |
490aed58 LP |
4 | |
5 | <!-- | |
db9ecf05 | 6 | SPDX-License-Identifier: LGPL-2.1-or-later |
d9215cd8 | 7 | |
490aed58 LP |
8 | This file is part of systemd. |
9 | ||
10 | systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
11 | under the terms of the GNU Lesser General Public License as published by |
12 | the Free Software Foundation; either version 2.1 of the License, or | |
490aed58 LP |
13 | (at your option) any later version. |
14 | --> | |
15 | ||
16 | <policyconfig> | |
17 | ||
18 | <vendor>The systemd Project</vendor> | |
d6e2c1ab | 19 | <vendor_url>https://systemd.io</vendor_url> |
490aed58 | 20 | |
0b4ebf07 | 21 | <action id="org.freedesktop.systemd1.reply-password"> |
264d8dcc GH |
22 | <description gettext-domain="systemd">Send passphrase back to system</description> |
23 | <message gettext-domain="systemd">Authentication is required to send the entered passphrase back to the system.</message> | |
490aed58 LP |
24 | <defaults> |
25 | <allow_any>no</allow_any> | |
26 | <allow_inactive>no</allow_inactive> | |
27 | <allow_active>auth_admin_keep</allow_active> | |
28 | </defaults> | |
b0d3095f | 29 | <annotate key="org.freedesktop.policykit.exec.path">{{LIBEXECDIR}}/systemd-reply-password</annotate> |
490aed58 LP |
30 | </action> |
31 | ||
283868e1 | 32 | <action id="org.freedesktop.systemd1.manage-units"> |
264d8dcc GH |
33 | <description gettext-domain="systemd">Manage system services or other units</description> |
34 | <message gettext-domain="systemd">Authentication is required to manage system services or other units.</message> | |
283868e1 SW |
35 | <defaults> |
36 | <allow_any>auth_admin</allow_any> | |
37 | <allow_inactive>auth_admin</allow_inactive> | |
38 | <allow_active>auth_admin_keep</allow_active> | |
39 | </defaults> | |
40 | </action> | |
41 | ||
42 | <action id="org.freedesktop.systemd1.manage-unit-files"> | |
264d8dcc GH |
43 | <description gettext-domain="systemd">Manage system service or unit files</description> |
44 | <message gettext-domain="systemd">Authentication is required to manage system service or unit files.</message> | |
283868e1 SW |
45 | <defaults> |
46 | <allow_any>auth_admin</allow_any> | |
47 | <allow_inactive>auth_admin</allow_inactive> | |
48 | <allow_active>auth_admin_keep</allow_active> | |
49 | </defaults> | |
a8f2b691 | 50 | <annotate key="org.freedesktop.policykit.imply">org.freedesktop.systemd1.reload-daemon org.freedesktop.systemd1.manage-units</annotate> |
283868e1 SW |
51 | </action> |
52 | ||
1d22e906 | 53 | <action id="org.freedesktop.systemd1.set-environment"> |
264d8dcc GH |
54 | <description gettext-domain="systemd">Set or unset system and service manager environment variables</description> |
55 | <message gettext-domain="systemd">Authentication is required to set or unset system and service manager environment variables.</message> | |
1d22e906 LP |
56 | <defaults> |
57 | <allow_any>auth_admin</allow_any> | |
58 | <allow_inactive>auth_admin</allow_inactive> | |
59 | <allow_active>auth_admin_keep</allow_active> | |
60 | </defaults> | |
61 | </action> | |
62 | ||
283868e1 | 63 | <action id="org.freedesktop.systemd1.reload-daemon"> |
264d8dcc GH |
64 | <description gettext-domain="systemd">Reload the systemd state</description> |
65 | <message gettext-domain="systemd">Authentication is required to reload the systemd state.</message> | |
283868e1 SW |
66 | <defaults> |
67 | <allow_any>auth_admin</allow_any> | |
68 | <allow_inactive>auth_admin</allow_inactive> | |
69 | <allow_active>auth_admin_keep</allow_active> | |
70 | </defaults> | |
71 | </action> | |
72 | ||
d9365956 LB |
73 | <action id="org.freedesktop.systemd1.bypass-dump-ratelimit"> |
74 | <description gettext-domain="systemd">Dump the systemd state without rate limits</description> | |
75 | <message gettext-domain="systemd">Authentication is required to dump the systemd state without rate limits.</message> | |
76 | <defaults> | |
77 | <allow_any>auth_admin</allow_any> | |
78 | <allow_inactive>auth_admin</allow_inactive> | |
79 | <allow_active>auth_admin_keep</allow_active> | |
80 | </defaults> | |
81 | </action> | |
82 | ||
490aed58 | 83 | </policyconfig> |