Advertisement
Guest User

Untitled

a guest
Oct 6th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <!-- This configuration file specifies the required security policies
  2. for Bluetooth core daemon to work. -->
  3.  
  4. <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  5. "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
  6. <busconfig>
  7.  
  8. <!-- ../system.conf have denied everything, so we just punch some holes -->
  9.  
  10. <policy user="root">
  11. <allow own="org.bluez"/>
  12. <allow send_destination="org.bluez"/>
  13.  
  14. <!-- allow root to send to agents -->
  15. <allow send_interface="org.bluez.Agent"/>
  16.  
  17. <allow send_interface="org.bluez.HandsfreeAgent"/>
  18. <allow send_interface="org.bluez.MediaEndpoint"/>
  19. <allow send_interface="org.bluez.MediaPlayer"/>
  20. <allow send_interface="org.bluez.Watcher"/>
  21. <allow send_interface="org.bluez.ThermometerWatcher"/>
  22. </policy>
  23.  
  24. <!-- allow users at the console, see consolekit or libpam-foreground -->
  25. <policy at_console="true">
  26. <allow send_destination="org.bluez"/>
  27. </policy>
  28.  
  29. <!-- allow users of bluetooth group to communicate with hcid -->
  30. <policy group="bluetooth">
  31. <allow send_destination="org.bluez"/>
  32. </policy>
  33. <!-- allow users of lp group (printing subsystem) to communicate with hcid -->
  34. <policy group="lp">
  35. <allow send_destination="org.bluez"/>
  36. </policy>
  37.  
  38.  
  39. <policy context="default">
  40. <deny send_destination="org.bluez"/>
  41. </policy>
  42.  
  43. </busconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement