blob: 7908e47069819928f8d525419c0e74ff07d76fc0 (
plain)
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
48
49
50
51
52
53
54
55
|
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy context="default">
<!-- Do not allow owning this name to regular users -->
<deny own="org.freedesktop.SystemToolsBackends"/>
<!-- Uncomment this if you want to test configuration modules with a harmless user -->
<!--
<allow own="org.freedesktop.SystemToolsBackends.GroupsConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.HostsConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.IfacesConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.NFSConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.NTPConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.ServicesConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.SMBConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.TimeConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.UserConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.UsersConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.Platform"/>
<allow send_interface="org.freedesktop.SystemToolsBackends.Platform" send_member="getPlatform"/>
-->
<!-- configuration modules can't be accessed directly... -->
<deny send_interface="org.freedesktop.SystemToolsBackends"/>
<deny send_interface="org.freedesktop.SystemToolsBackends.Platform"/>
<!-- ...so petitions go through the dispatcher instead -->
<allow send_destination="org.freedesktop.SystemToolsBackends"/>
</policy>
<policy user="0">
<!-- only root is allowed to run the dispatcher -->
<allow own="org.freedesktop.SystemToolsBackends"/>
<!-- also allow it to own the configuration modules -->
<allow own="org.freedesktop.SystemToolsBackends.GroupsConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.HostsConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.IfacesConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.NFSConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.NTPConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.ServicesConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.SMBConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.TimeConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.UserConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.UsersConfig"/>
<allow own="org.freedesktop.SystemToolsBackends.Platform"/>
<!-- be able to speak to configuration modules,
so any message to them has to go through the dispatcher -->
<allow send_interface="org.freedesktop.SystemToolsBackends"/>
<allow send_interface="org.freedesktop.SystemToolsBackends.Platform"/>
</policy>
</busconfig>
|