Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
- Subject: Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
- From: Finlay Dobbie <email@hidden>
- Date: Mon, 14 Feb 2005 15:00:27 +0000
On 14 Feb 2005, at 15:00, Darkshadow wrote:
What is happening (with me at least), is that
AuthorizationExecuteWithPrivileges() *is not* displaying a dialog to
gain the system.privilege.admin right. It's being granted without
displaying the dialog. The helper tool successfully relaunches itself
via AEWP() and repairs itself. After the run, the helper tool is
setuid root. This happens on both of my machines. In any user
account. Did you try my code (and edit it to have your admin
name/password)?
It's being shown here. I did test it with your code.
Are you sure you haven't already been granted the right and haven't
waited for it to expire before trying again?
-- 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