~ubuntu-branches/ubuntu/saucy/ubuntu-system-service/saucy

« back to all changes in this revision

Viewing changes to backend/org.freedesktop.hostname1.policy.in

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Rodrigo Moya
  • Date: 2011-11-28 11:48:38 UTC
  • Revision ID: package-import@ubuntu.com-20111128114838-umgqjjb36ds7dvlm
Tags: 0.2.1
[ Rodrigo Moya ]
* merged lp:~rodrigo-moya/system-service/new-interfaces:
  - add org.freedesktop.hostname1 and org.freedesktop.locale1
    interfaces for systemd compatbility

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 was taken from systemd.
 
7
 
 
8
  This program 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.
 
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">
 
20
                <_description>Set host name</_description>
 
21
                <_message>Authentication is required to set the local host name.</_message>
 
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">
 
30
                <_description>Set static host name</_description>
 
31
                <_message>Authentication is required to set the statically configured local host name, as well as the pretty host name.</_message>
 
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>
 
37
        </action>
 
38
 
 
39
        <action id="org.freedesktop.hostname1.set-machine-info">
 
40
                <_description>Set machine information</_description>
 
41
                <_message>Authentication is required to set local machine information.</_message>
 
42
                <defaults>
 
43
                        <allow_any>auth_admin_keep</allow_any>
 
44
                        <allow_inactive>auth_admin_keep</allow_inactive>
 
45
                        <allow_active>auth_admin_keep</allow_active>
 
46
                </defaults>
 
47
        </action>
 
48
 
 
49
</policyconfig>