summaryrefslogtreecommitdiff
path: root/system-tools-backends.conf.in
blob: 665dba3942b69495e7c6f6b91322d441efb5ead9 (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
<!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">
    <!-- just for testing purposes, only root will
         be able to actually change configuration -->
    <allow own="org.freedesktop.SystemToolsBackends"/>
    <deny send_interface="org.freedesktop.SystemToolsBackends"/>
  </policy>

  <!-- This will not work if pam_console support is not enabled -->
  <policy at_console="true">
    <allow send_interface="org.freedesktop.SystemToolsBackends"/>
    <allow send_destination="org.freedesktop.SystemToolsBackends"/>
  </policy>

  <policy user="0">
    <allow send_interface="org.freedesktop.SystemToolsBackends"/>
    <allow send_destination="org.freedesktop.SystemToolsBackends"/>
  </policy>

  <policy user="@STB_GROUP@">
    <allow send_interface="org.freedesktop.SystemToolsBackends"/>
    <allow send_destination="org.freedesktop.SystemToolsBackends"/>
  </policy>

</busconfig>