• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using sudo in NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Using sudo in NSTask (From: Saritha A <email@hidden>)

  • Prev by Date: Using sudo in NSTask
  • Next by Date: Re: How is a bound NSArrayController so stealthy?
  • Previous by thread: Using sudo in NSTask
  • Next by thread: KVC and arrays
  • Index(es):
    • Date
    • Thread