[SailfishDevel] Setting/escalating app privileges ?

Philippe De Swert philippe.deswert at jolla.com
Sat May 31 15:46:05 UTC 2014


Hi,

On 31/05/14 16:15, Niels Christian Ørgaard wrote:
> Hi all,
>
> Is there a way to either set, or escalate, a SailfishOS app's
> privileges, at first runtime or at installation?
>
> Am looking to use 2 shell commands, iwlist and iwpriv, in my apps, but
> they require root (or similar) access-rights.
> (cannot quite figure out why iwlist should require root access ...)

Depending on what you are trying to use them for, the easier and safer 
way might be to get the info from connman. You can communicate with it 
over dbus.

Cheers,

Philippe



More information about the Devel mailing list