• 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: Authorization.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Authorization.h


  • Subject: Re: Authorization.h
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 6 Nov 2001 19:06:06 +0000

On Tuesday, November 6, 2001, at 06:26 am, Charles Srstka wrote:

The annoying thing about AuthorizationExecuteWithPrivileges is that there is apparently no way to make your program wait for the tool to exit before continuing! This can make things very difficult sometimes...

You shouldn't be using AEWP. You should be using a setuid(root) tool and pass an AuthorizationExternalForm to it. AEWP is a temporary API provided for installers. At least, this is what Michael Brouwer claims, but I have yet to see it documented or explained by anybody publicly, and there is no sample code on how to do things this way. Why not? Should I file a radar to get someone's attention?

-- Finlay


References: 
 >Re: Authorization.h (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Newie question of app aborts
  • Next by Date: Re: NSUsersDefault and users
  • Previous by thread: Re: Authorization.h
  • Next by thread: Re: Authorization.h
  • Index(es):
    • Date
    • Thread