We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2015-09-20 16:52:30 +0200 |
Hello, I am trying to make an app that will start as root user, but I am not really experienced in C++.
My binary has a sticky UID 0 and in the code setuid(0).
Can anybody help me with it?
2 | No.2 Revision |
Hello, I am trying to make an app that will start as root user, but I am not really experienced in C++.
My binary has a sticky UID 0 and in the code setuid(0).
And what really confuses me is that when I start the app from terminal (as nemo user) it has root privileges but when I start via desktop file, it runs as nemo user.
Can anybody help me with it?