Hi,

How do I authorize my program to run with elevated privileges?

In the Apple docs, they mention an example with the AuthorizationCreate
function
(http://developer.apple.com/mac/library/documentation/Security/Conceptua
l/authorization_concepts/03authtasks/authtasks.html#//apple_ref/doc/uid/
TP30000995-CH206-BBCHCEEG ), but I cannot find it in Monobjc?

So basically, my app needs to check if it's running as root, and if not,
ask for permissions and rerun itself.

Thanks!!

Yvan

Reply via email to