3 |
- |
1 |
<?xml version="1.0"?>
|
|
|
2 |
|
|
|
3 |
<!DOCTYPE busconfig PUBLIC
|
|
|
4 |
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
|
5 |
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
|
6 |
|
|
|
7 |
<busconfig>
|
|
|
8 |
|
|
|
9 |
<!-- This configuration file specifies the required security policies
|
|
|
10 |
for the oddjob service to work. It controls which requests users
|
|
|
11 |
will be allowed to issue to oddjobd over the bus, which is quite
|
|
|
12 |
different from controlling whether or not oddjobd will attempt to
|
|
|
13 |
fulfill the request. -->
|
|
|
14 |
|
|
|
15 |
<!-- Only root can own the oddjob service -->
|
|
|
16 |
<policy user="root">
|
|
|
17 |
<allow own="com.redhat.oddjob"/>
|
|
|
18 |
</policy>
|
|
|
19 |
|
|
|
20 |
<!-- Allow anyone to try to call the quit method of the
|
|
|
21 |
com.redhat.oddjob interface implemented by the
|
|
|
22 |
/com/redhat/oddjob object provided by the
|
|
|
23 |
com.redhat.oddjob service -->
|
|
|
24 |
<policy context="default">
|
|
|
25 |
<allow send_destination="com.redhat.oddjob" send_path="/com/redhat/oddjob" send_interface="com.redhat.oddjob" send_member="quit"/>
|
|
|
26 |
</policy>
|
|
|
27 |
|
|
|
28 |
<!-- Allow anyone to try to call the list method of the
|
|
|
29 |
com.redhat.oddjob interface implemented by the
|
|
|
30 |
/com/redhat/oddjob object provided by the
|
|
|
31 |
com.redhat.oddjob service -->
|
|
|
32 |
<policy context="default">
|
|
|
33 |
<allow send_destination="com.redhat.oddjob" send_path="/com/redhat/oddjob" send_interface="com.redhat.oddjob" send_member="list"/>
|
|
|
34 |
</policy>
|
|
|
35 |
|
|
|
36 |
<!-- Allow anyone to try to call the listall method of the
|
|
|
37 |
com.redhat.oddjob interface implemented by the
|
|
|
38 |
/com/redhat/oddjob object provided by the
|
|
|
39 |
com.redhat.oddjob service -->
|
|
|
40 |
<policy context="default">
|
|
|
41 |
<allow send_destination="com.redhat.oddjob" send_path="/com/redhat/oddjob" send_interface="com.redhat.oddjob" send_member="listall"/>
|
|
|
42 |
</policy>
|
|
|
43 |
|
|
|
44 |
<!-- Allow anyone to try to call the reload method of the
|
|
|
45 |
com.redhat.oddjob interface implemented by the
|
|
|
46 |
/com/redhat/oddjob object provided by the
|
|
|
47 |
com.redhat.oddjob service -->
|
|
|
48 |
<policy context="default">
|
|
|
49 |
<allow send_destination="com.redhat.oddjob" send_path="/com/redhat/oddjob" send_interface="com.redhat.oddjob" send_member="reload"/>
|
|
|
50 |
</policy>
|
|
|
51 |
|
|
|
52 |
<!-- Allow anyone to try to call the introspection methods of the
|
|
|
53 |
/com/redhat/oddjob object provided by the
|
|
|
54 |
com.redhat.oddjob service -->
|
|
|
55 |
<policy context="default">
|
|
|
56 |
<allow send_destination="com.redhat.oddjob" send_path="/com/redhat/oddjob" send_interface="org.freedesktop.DBus.Introspectable"/>
|
|
|
57 |
</policy>
|
|
|
58 |
|
|
|
59 |
</busconfig>
|