]>
Commit | Line | Data |
---|---|---|
7640a5de LP |
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 | <!-- | |
d9215cd8 ZJS |
6 | SPDX-License-Identifier: LGPL-2.1+ |
7 | ||
7640a5de | 8 | systemd is free software; you can redistribute it and/or modify it |
5430f7f2 LP |
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 | |
7640a5de LP |
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.hostname1.set-hostname"> | |
38b38500 ZJS |
20 | <description gettext-domain="systemd">Set hostname</description> |
21 | <message gettext-domain="systemd">Authentication is required to set the local hostname.</message> | |
7640a5de LP |
22 | <defaults> |
23 | <allow_any>auth_admin_keep</allow_any> | |
24 | <allow_inactive>auth_admin_keep</allow_inactive> | |
25 | <allow_active>auth_admin_keep</allow_active> | |
26 | </defaults> | |
27 | </action> | |
28 | ||
29 | <action id="org.freedesktop.hostname1.set-static-hostname"> | |
38b38500 ZJS |
30 | <description gettext-domain="systemd">Set static hostname</description> |
31 | <message gettext-domain="systemd">Authentication is required to set the statically configured local hostname, as well as the pretty hostname.</message> | |
7640a5de LP |
32 | <defaults> |
33 | <allow_any>auth_admin_keep</allow_any> | |
34 | <allow_inactive>auth_admin_keep</allow_inactive> | |
35 | <allow_active>auth_admin_keep</allow_active> | |
36 | </defaults> | |
39600155 | 37 | <annotate key="org.freedesktop.policykit.imply">org.freedesktop.hostname1.set-hostname org.freedesktop.hostname1.set-machine-info</annotate> |
7640a5de LP |
38 | </action> |
39 | ||
40 | <action id="org.freedesktop.hostname1.set-machine-info"> | |
264d8dcc GH |
41 | <description gettext-domain="systemd">Set machine information</description> |
42 | <message gettext-domain="systemd">Authentication is required to set local machine information.</message> | |
7640a5de LP |
43 | <defaults> |
44 | <allow_any>auth_admin_keep</allow_any> | |
45 | <allow_inactive>auth_admin_keep</allow_inactive> | |
46 | <allow_active>auth_admin_keep</allow_active> | |
47 | </defaults> | |
48 | </action> | |
49 | ||
21e627da YW |
50 | <action id="org.freedesktop.hostname1.get-product-uuid"> |
51 | <description gettext-domain="systemd">Get product UUID</description> | |
52 | <message gettext-domain="systemd">Authentication is required to get product UUID.</message> | |
53 | <defaults> | |
54 | <allow_any>auth_admin_keep</allow_any> | |
55 | <allow_inactive>auth_admin_keep</allow_inactive> | |
56 | <allow_active>auth_admin_keep</allow_active> | |
57 | </defaults> | |
58 | </action> | |
59 | ||
7640a5de | 60 | </policyconfig> |