• 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: Fun with AuthorizationExecuteWithPrivileges...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Fun with AuthorizationExecuteWithPrivileges...
      • From: "John C. Randolph" <email@hidden>
    • Re: Fun with AuthorizationExecuteWithPrivileges...
      • From: Lloyd Sargent <email@hidden>
References: 
 >Fun with AuthorizationExecuteWithPrivileges... (From: Lloyd Sargent <email@hidden>)

  • Prev by Date: Re: Fun with AuthorizationExecuteWithPrivileges...
  • Next by Date: Fwd: Re: Looking for a clue on how to play with the Finder
  • Previous by thread: Re: Fun with AuthorizationExecuteWithPrivileges...
  • Next by thread: Re: Fun with AuthorizationExecuteWithPrivileges...
  • Index(es):
    • Date
    • Thread