File: wicd.conf

package info (click to toggle)
wicd 1.7.4%2Btb2-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,500 kB
  • sloc: python: 11,062; sh: 774; makefile: 40
file content (47 lines) | stat: -rw-r--r-- 2,152 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!-- /etc/dbus-1/system.d/wicd.conf -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

        <policy user="root">
                <allow own="org.wicd.daemon"/>
                <allow send_destination="org.wicd.daemon"/>
                <allow send_interface="org.wicd.daemon"/>
		<allow send_destination="org.wicd.daemon.wireless"/>
		<allow send_interface="org.wicd.daemon.wireless"/>
		<allow send_destination="org.wicd.daemon.wired"/>
		<allow send_interface="org.wicd.daemon.wired"/>
        </policy>

        <policy context="default">
                <deny own="org.wicd.daemon"/>
        </policy>

	<!-- This Unix group will have permission to use Wicd's gui -->
        <policy group="netdev">
                <allow send_destination="org.wicd.daemon"/>
                <allow send_interface="org.wicd.daemon"/>
                <allow send_interface="org.freedesktop.DBus.Introspectable"/>
                <!-- The Introspectable allow shouldn't be needed here, but
                     it seems that a few distributions aren't yet allowing
                     it in their hal configs, and we need it here, so... -->
        </policy>

       <!-- Comment the block below if you do not want all users logged in 
            locally to have permission to use wicd-client.  This ignores the 
            group based permission model defined above for the "netdev"
            group. Note that this only applies if you are using ConsoleKit -
            if you do not have ConsoleKit installed and in use, then this
            block makes no difference either way.  -->

        <policy at_console="true">
                <allow send_destination="org.wicd.daemon"/>
                <allow send_interface="org.wicd.daemon"/>
		<allow send_destination="org.wicd.daemon.wireless"/>
		<allow send_interface="org.wicd.daemon.wireless"/>
		<allow send_destination="org.wicd.daemon.wired"/>
		<allow send_interface="org.wicd.daemon.wired"/>
		<allow send_interface="org.freedesktop.DBus.Introspectable"/>
        </policy>

</busconfig>