Re: Fun with AuthorizationExecuteWithPrivileges...
Re: Fun with AuthorizationExecuteWithPrivileges...
- Subject: Re: Fun with AuthorizationExecuteWithPrivileges...
- From: Eric Peyton <email@hidden>
- Date: Mon, 13 Aug 2001 20:45:08 -0500
AEWP was not designed to be the complete be-all, end-all of process
control and creation to run every existing unix tool as root. It was
implemented to allow developers to write a tool (unix tool) that could
be run as root. That tool could then communicate back with the
launching Graphical application (via DO, Mach messaging, CF messaging,
port messages, pipes, signal flags, whatever).
I have been told that you will probably never find features of NSTask,
etc. in AEWP.
My suggestion is to write a simple unix tool that wraps the commands you
want executed as root. That tool can then be the control center and can
communicate back with the main application about status, etc. and the
main application can communicate back with control for the tool.
Eric
On Monday, August 13, 2001, at 06:55 PM, 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?
Truly stumped this time,
Lloyd
---
Canna Software Development
"This email was created using 100% recycled electrons"
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev