This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 6th, 2012  |  syntax: None  |  size: 1.50 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>
clone this paste RAW Paste Data