Re: Using sudo in NSTask
Re: Using sudo in NSTask
- Subject: Re: Using sudo in NSTask
- From: Sherm Pendley <email@hidden>
- Date: Fri, 22 Jun 2007 03:41:21 -0400
On Jun 22, 2007, at 3:22 AM, Saritha A wrote:
Presently i am working on particular application in which i want
to launch a process as a root process using NSTask.
What you *really* want is to run a process with root privileges;
unfortunately, sudo & NSTask are not the right tools for that job.
Instead, you want to use Authorization Services for that:
http://developer.apple.com/documentation/Security/Conceptual/
authorization_concepts/index.html
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
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