An NSTask-like wrapper around AuthorizationExecuteWithPrivileges() in the Security API to run shell commands with root privileges in Mac OS X.
jeevatkm/STPrivilegedTask
An NSTask-like wrapper around Mac OS X Security Framework's AuthorizationExecuteWithPrivileges() to run shell commands with root privileges in Objective-C / Cocoa on Mac OS X.
Objective-C