[Maybe a little OT] Launching a CFM executable through code
[Maybe a little OT] Launching a CFM executable through code
- Subject: [Maybe a little OT] Launching a CFM executable through code
- From: email@hidden
- Date: Sat, 23 Mar 2002 12:00:07 -0500
I'm using the BLAuthentication class to provide a front-end for
Security.framework. Once I gain privileges, I use BLAuthentication to
run /usr/bin/open, passing the path of a Carbon app as the argument. The
problem with that is, using /usr/bin/open launches it under the username
that was entered in Loginwindow.app, not Root. That also happens if I
do: sudo open [app name], or even su, and then just open [app name]. So
I know it's not a problem with my code.
So, is there a way to launch a CFM (in my case, Carbon) executable as
Root through C or Objective-C code?
--
Adam Atlas
Atomm Software
http://www.atommic.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.