How to become root
How to become root
- Subject: How to become root
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 16 Mar 2012 18:33:47 +0700
I have an app which needs to do (among other things) to call task_for_pid() which seems to work only for root.
The modern way to do this is have a small companion tool which exchanges info with my app via XPC. Correct?
I am also thinking about sandboxing (just as a learning experience). Or is root and sandboxing mutually exclusive?
Then: how to make my companion tool run as root?
Is there a sandboxing entitlement like: com.apple.security.rootAllowed?
If not: what else to use?
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden