hi,

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-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Michał Radwański [enedil.isil...@gmail.com]
Sent: Thursday, August 07, 2014 10:41 AM
To: devel@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
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to