[SailfishDevel] Elevating process privileges?

Jonni Rainisto 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.

Br, Jonni
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?

Hi all!
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?

Best regards,

Michał Radwański a.k.a enedil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140807/bfd05d2a/attachment.html>

More information about the Devel mailing list