remove unused header
[poetteringd.git] / data / org.freedesktop.hostname1.policy
blobde4e2799cfab66cd3bf756cbf9840b91655a463e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
4 <policyconfig>
5 <vendor>OpenBSD</vendor>
6 <vendor_url>https://openbsd.org</vendor_url>
8 <action id="org.freedesktop.hostname1.set-hostname">
9 <description>Set local host name</description>
10 <message>System policy prevents modifying the local host name.</message>
11 <defaults>
12 <allow_any>auth_admin_keep</allow_any>
13 <allow_inactive>auth_admin_keep</allow_inactive>
14 <allow_active>auth_admin_keep</allow_active>
15 </defaults>
16 </action>
18 <action id="org.freedesktop.hostname1.set-static-hostname">
19 <description>Set statically configured local host name and pretty host name</description>
20 <message>System policy prevents modifying the statically configured local host name or pretty host name.</message>
21 <defaults>
22 <allow_any>auth_admin_keep</allow_any>
23 <allow_inactive>auth_admin_keep</allow_inactive>
24 <allow_active>auth_admin_keep</allow_active>
25 </defaults>
26 </action>
28 <action id="org.freedesktop.hostname1.set-machine-info">
29 <description>Set local machine information</description>
30 <message>System policy prevents modifying the local machine information.</message>
31 <defaults>
32 <allow_any>auth_admin_keep</allow_any>
33 <allow_inactive>auth_admin_keep</allow_inactive>
34 <allow_active>auth_admin_keep</allow_active>
35 </defaults>
36 </action>
37 </policyconfig>