Re: Authorization.h
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