summaryrefslogtreecommitdiff
path: root/PackageKit.conf.in
blob: 708f2ebed281ae129d3e1a6eff3eacc5c3f7a306 (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
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- This configuration file specifies the required security policies
       for the PackageKit to work. -->

  <!-- Only root or user @PACKAGEKIT_USER@ can own the PackageKit service -->
  <policy user="@PACKAGEKIT_USER@">
    <allow own="org.freedesktop.PackageKit"/>
  </policy>
  <policy user="root">
    <allow own="org.freedesktop.PackageKit"/>
  </policy>

  <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  <policy context="default">
    <deny send_interface="org.freedesktop.PackageKit"/>
  </policy>

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

  <!-- You can change this to a more suitable user, or make per-group -->
  <policy user="0">
    <allow send_interface="org.freedesktop.PackageKit"/>
  </policy>

</busconfig>