Home » Questions » Computers [ Ask a new question ]

Allowing user to restart bluetooth on linux

Allowing user to restart bluetooth on linux

I'm using bluetooth on linux to access internet via dialup from my Nokia S60 phone. I've gotten the connection to work just fine, but there's still one recurring problem:

Asked by: Guest | Views: 46
Total answers/comments: 1
Guest [Entry]

"Add

Cmnd_Alias BT=/etc/init.d/bluetooth
username ALL=NOPASSWD: BT

to your /etc/sudoers file. Don't forget to change username though :)

This will allow you to run sudo /etc/init.d/bluetooth restart without entering the password but sudo will still ask for it when you run it with any other application."