• 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: AuthorizationRef expiration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AuthorizationRef expiration


  • Subject: Re: AuthorizationRef expiration
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Fri, 31 Mar 2006 23:25:14 +0100

On 31/03/06, Damien Sorresso <email@hidden> wrote:
> The helper tool is launched with root privileges, so any child
> processes it creates will have those privileges as well. So I should
> be able to just do an exec(...) call for `installer' and supply the
> relevant arguments to install with root privileges. As long as the
> helper tool is running, it should retain its privileges until close,
> right? I'm worried that privileges would expire when starting a new
> install.

The process' (E)UID will not change unless you request it. Your
authorization rights will expire, but you're not using those any more.

 -- Finlay
 _______________________________________________
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

References: 
 >AuthorizationRef expiration (From: Damien Sorresso <email@hidden>)

  • Prev by Date: Re: Error with application - -[NSManagedObject copyWithZone:]: selector not recognized
  • Next by Date: Re: NSUndoManager across multiple nibs
  • Previous by thread: AuthorizationRef expiration
  • Next by thread: When/Where does the text system create it's NSRulerMarkers?
  • Index(es):
    • Date
    • Thread