Reputation: 229
I am developing an iPhone app for jailbroken devices, and I need root privileges. Is there documentation for making my app run as root?
Upvotes: 2
Views: 599
Reputation: 271
To run any executable with root privileges it must be owned by root and it needs suid in permissions to set that you have to be logged as root in terminal:
# chown root your_executable
# chmod u+s your_executable
Upvotes: 1