NSTask -launch override
NSTask -launch override
- Subject: NSTask -launch override
- From: Keith Duncan <email@hidden>
- Date: Tue, 25 Sep 2007 17:42:05 +0100
I'm trying to implement a transparently authorized -launch method in
NSTask. What I need to know is if I can use
AuthorizationExecuteWithPrivileges() with the current user's default
rights acquired when initializing the AuthorizationRef without having
to actually authorize.
The desired effect would be that preauthorizing would yield whether or
not the current user needs to authorize to run the task, if they need
to then the user will first be asked to authorize. Either way the task
is to be run through AuthorizationExecuteWithPrivileges().
Keith
_______________________________________________
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