Advertisement
Guest User

Untitled

a guest
Apr 6th, 2019
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. <!-- ../system.conf have denied everything, so we just punch some holes -->
  2.  
  3. <policy user="root">
  4. <allow own="org.bluez"/>
  5. <allow send_destination="org.bluez"/>
  6. <allow send_interface="org.bluez.Agent1"/>
  7. <allow send_interface="org.bluez.MediaEndpoint1"/>
  8. <allow send_interface="org.bluez.MediaPlayer1"/>
  9. <allow send_interface="org.bluez.ThermometerWatcher1"/>
  10. <allow send_interface="org.bluez.AlertAgent1"/>
  11. <allow send_interface="org.bluez.Profile1"/>
  12. <allow send_interface="org.bluez.HeartRateWatcher1"/>
  13. <allow send_interface="org.bluez.CyclingSpeedWatcher1"/>
  14. <allow send_type="method_call"></allow>
  15. </policy>
  16.  
  17. <policy at_console="true">
  18. <allow send_destination="org.bluez"/>
  19. <allow send_type="method_call"></allow>
  20. </policy>
  21.  
  22. <!-- allow users of lp group (printing subsystem) to
  23. communicate with bluetoothd -->
  24. <policy group="lp">
  25. <allow send_destination="org.bluez"/>
  26. </policy>
  27. <policy user="pi">
  28. <allow send_destination="org.bluez"/>
  29. <allow send_interface="org.bluez.Agent"/>
  30. <allow send_interface="org.bluez.GattCharacteristic"/>
  31. <allow send_interface="org.bluez.GattDescriptor"/>
  32. <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
  33. <allow send_interface="org.freedesktop.DBus.Properties"/>
  34. <allow send_type="method_call"></allow>
  35. </policy>
  36. <policy user="Your_UserName">
  37. <allow send_destination="org.bluez"/>
  38. <allow send_interface="org.bluez.Agent"/>
  39. <allow send_interface="org.bluez.GattCharacteristic"/>
  40. <allow send_interface="org.bluez.GattDescriptor"/>
  41. <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
  42. <allow send_interface="org.freedesktop.DBus.Properties"/>
  43. <allow send_type="method_call"></allow>
  44. </policy>
  45. <policy context="default">
  46. <deny send_destination="org.bluez"/>
  47. </policy>
  48.  
  49. </busconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement