Energy management script

Hi to all (openSUSE 13.1, kde 4.12 )
I’d like run a script, “battery almost low” at the its profile activation
Now, my problem is that the script should run the command:


hciconfig hci0 down

to deactivate the RF signal on bluetooth device

but unfortunately this, requires root privileges.
How I can do without putting my password in clear ?
…otherwise, can I enter the command in a “profile” file already exists ?

can you help me ?
ciao

On 2013-12-29 13:06, NeverGiveUp01 wrote:
> but unfortunately this, requires root privileges.
> How I can do without putting my password in clear ?

With sudo, configured appropriately.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))