]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Allow root to monitor the system bus by default
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 26 Jan 2015 19:15:16 +0000 (19:15 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Feb 2015 17:15:28 +0000 (17:15 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46787
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
bus/system.conf.in

index c1541bffafe9747158889712782d5d9c31961299..d292451ef25dd277ecf10d7d1e6664ffdb1cd917 100644 (file)
           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 -->