Re: AuthorizationRef expiration
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