Re: Fun with AuthorizationExecuteWithPrivileges...
Re: Fun with AuthorizationExecuteWithPrivileges...
- Subject: Re: Fun with AuthorizationExecuteWithPrivileges...
- From: Andreas Monitzer <email@hidden>
- Date: Tue, 14 Aug 2001 02:19:07 +0200
On Tuesday, August 14, 2001, at 01:55 , Lloyd Sargent wrote:
Okay, so I'm running this tool. Now I want to kill the tool. NSTask at
least gave me that. However, I don't seem to see a way you can do this
with AuthorizationExecuteWithPrivileges... Am I missing something?
Yes, you and everybody else is missing a good API. The only known way of
doing this is to get the PID of the created process via the pipe (or some
lock-file) and call /bin/kill via the security API (requires another
authorization).
andy
--
Description forthcoming.