• 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
Using Security framework to get root auth for running app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using Security framework to get root auth for running app.


  • Subject: Using Security framework to get root auth for running app.
  • From: email@hidden
  • Date: Wed, 15 Dec 2004 14:57:08 -0500 (EST)
  • Importance: Normal

I've seeen several examples of how to run a commad line tool as root and
the information is pretty clear but the problem is I need to gain root
access for the application Im building. It basically needs to be able to
remove several files in /Library so I need the application to get
authorized after it has executed, and the user chooses a given function.
Does any one know of examples, or would some one be able to help with this?
I suppose gaining authorization at awakeFromNib or
applicationDidFinishLaunching would work just as well.

April.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using Security framework to get root auth for running app.
      • From: OL&L Lists <email@hidden>
    • Re: Using Security framework to get root auth for running app.
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Getting Pixel values of an image
  • Next by Date: Re: Passing numbers through userdata
  • Previous by thread: Creating delegates for formatters/text fields
  • Next by thread: Re: Using Security framework to get root auth for running app.
  • Index(es):
    • Date
    • Thread