dbus-1.12.x-allow_root_globally.diff 834 B

12345678910111213141516171819
  1. diff -Nur dbus-1.12.0.orig/bus/system.conf.in dbus-1.12.0/bus/system.conf.in
  2. --- dbus-1.12.0.orig/bus/system.conf.in 2017-10-30 07:26:18.000000000 -0500
  3. +++ dbus-1.12.0/bus/system.conf.in 2017-10-31 00:17:34.989634085 -0500
  4. @@ -125,6 +125,14 @@
  5. <!-- <limit name="max_match_rules_per_connection">512</limit> -->
  6. <!-- <limit name="max_replies_per_connection">128</limit> -->
  7. + <!-- Allow root to do anything over the messagebus.
  8. + Don't whine about "security" - anyone with root privileges
  9. + can edit this file anyway, so -ENOHOLE here. -->
  10. + <policy user="root">
  11. + <allow send_destination="*"/>
  12. + <allow send_interface="*"/>
  13. + </policy>
  14. +
  15. <!-- Config files are placed here that among other things, punch
  16. holes in the above policy for specific services. -->
  17. <includedir>system.d</includedir>