• 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
[Maybe a little OT] Launching a CFM executable through code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.

  • Follow-Ups:
    • Re: [Maybe a little OT] Launching a CFM executable through code
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Cocoa's Popularity
  • Next by Date: Re: Cocoa's Popularity
  • Previous by thread: Re: Project Builder 1.1.1 won't start
  • Next by thread: Re: [Maybe a little OT] Launching a CFM executable through code
  • Index(es):
    • Date
    • Thread