7752b576916ca08f62f8460a7a5ecace0446d25f
[platform/upstream/dbus.git] / bus / system.conf.in
1 <!-- This configuration file controls the systemwide message bus.
2      Add a system-local.conf and edit that rather than changing this 
3      file directly. -->
4
5 <!-- Note that there are any number of ways you can hose yourself
6      security-wise by screwing up this file; in particular, you
7      probably don't want to listen on any more addresses, add any more
8      auth mechanisms, run as a different user, etc. -->
9
10 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
11  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
12 <busconfig>
13
14   <!-- Run as special user -->
15   <user>messagebus</user>
16
17   <!-- Fork into daemon mode -->
18   <fork/>
19
20   <!-- Only allow socket-credentials-based authentication -->
21   <auth>EXTERNAL</auth>
22
23   <!-- Only listen on a local socket -->
24   <listen>unix:path=@EXPANDED_LOCALSTATEDIR@/@DBUS_SYSTEM_SOCKET@</listen>
25
26   <policy context="default">
27     <!-- Deny everything then punch holes -->
28     <deny send="*"/>
29     <deny receive="*"/>
30     <deny own="*"/>
31   </policy>
32
33   <!-- This is included last so local configuration can override what's 
34        in this standard file -->
35   <include ignore_missing="yes">system-local.conf</include>
36 </busconfig>