summaryrefslogtreecommitdiff
path: root/bus/system.conf.in
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-01-26 19:15:16 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-04 17:15:28 +0000
commit81e9e4e07806fe69738efb928106d8e58c4c8883 (patch)
tree4abc151651b4fa16c5299e2e3a03396a268bc42c /bus/system.conf.in
parenta650bd055f98a37c99c1b90e2b7872d609a291f2 (diff)
downloaddbus-81e9e4e07806fe69738efb928106d8e58c4c8883.tar.gz
Allow root to monitor the system bus by default
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46787 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Diffstat (limited to 'bus/system.conf.in')
-rw-r--r--bus/system.conf.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus/system.conf.in b/bus/system.conf.in
index c1541bff..d292451e 100644
--- a/bus/system.conf.in
+++ b/bus/system.conf.in
@@ -75,6 +75,12 @@
send_interface="org.freedesktop.DBus.Debug.Stats"/>
</policy>
+ <!-- root may monitor the system bus. -->
+ <policy user="root">
+ <allow send_destination="org.freedesktop.DBus"
+ send_interface="org.freedesktop.DBus.Monitoring"/>
+ </policy>
+
<!-- If the Stats interface was enabled at compile-time, root may use it.
Copy this into system.local.conf or system.d/*.conf if you want to
enable other privileged users to view statistics and debug info -->