• 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: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
      • From: Darkshadow <email@hidden>
References: 
 >AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior? (From: Darkshadow <email@hidden>)
 >Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior? (From: Finlay Dobbie <email@hidden>)
 >Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior? (From: Darkshadow <email@hidden>)

  • Prev by Date: Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
  • Next by Date: Re: request a webpage from cocoa
  • Previous by thread: Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
  • Next by thread: Re: AuthorizationExecuteWithPrivileges(): implementation bug or correct behavior?
  • Index(es):
    • Date
    • Thread