[SailfishDevel] Elevating process privileges?
jonni.rainisto at jolla.com
Thu Aug 7 07:48:52 UTC 2014
When you enable developer mode you have 'devel-su' command available.
Harbour store doesn't allow apps that run as root. But openrepo's does (you can set suid bit in rpm and use standard c++ calls to to gain&drop privileges.
From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Michał Radwański [enedil.isildur at gmail.com]
Sent: Thursday, August 07, 2014 10:41 AM
To: devel at lists.sailfishos.org
Subject: [SailfishDevel] Elevating process privileges?
Is Jolla user able to run processes that require root account? I mean something like 'nemo' is in `/etc/sudoers`. And if it is possible, how to gain privileges from C++? Is it like in Android, where I have to execute `su` command?
Michał Radwański a.k.a enedil
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel