Bluetooth permissions

Michael McConnell soruk at eridani.co.uk
Fri Jan 29 08:17:40 UTC 2010


Hi folks,

Is there a way to allow a script to run rfcomm to bind to a Bluetooth device 
without having to make /usr/bin/rfcomm setuid-root or running the script as 
root?  And, ideally without prompting for a password too.

Background: I wrote a script ( www.eridani.co.uk/rfselect/rfselect.tcl ) that 
sets up RFCOMM bindings to mobile phones and by doing so enables 
NetworkManager's Mobile Broadband menus and allowing NetworkManager to look 
after connecting to the internet over the mobile phone. (PANU-capable devices 
show automatically upon pairing, but many phones don't support this.)

-- Michael "Soruk" McConnell
    Eridani Star System


More information about the users mailing list