NSTask with admin power
NSTask with admin power
- Subject: NSTask with admin power
- From: "Andrew James" <email@hidden>
- Date: Tue, 27 Feb 2007 11:56:52 +1030
In AppleScript i am able to run a command such as kextload with do shell
script "" with administrative rights.
How would i do this in cocoa, from my look over documentations i have been
unable to find any reference to telling NSTask to run with admin rights.
My application already stores the username and password in NSString so how
would i make it work.
PS. Is there any way to load/unload kext inside cocoa?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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