• 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
Launching as Root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launching as Root


  • Subject: Launching as Root
  • From: Steve Gehrman <email@hidden>
  • Date: Mon, 26 Nov 2001 14:33:39 -0800

I'm trying to launch an application with as root.

I'm trying to use the execve(argv[1], aargv, environ) function to launch the applications executable, but I get this error...

2001-11-26 14:32:14.213 Appname[400] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting

Any ideas? Does anyone have code that will launch an application as root?

Thanks,

-steve


  • Follow-Ups:
    • Re: Launching as Root
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: some info - check it
  • Next by Date: Re: drawing pixels in NSView
  • Previous by thread: Multi-line word-wrapped text cells in NSOutlineView or NSTableView?
  • Next by thread: Re: Launching as Root
  • Index(es):
    • Date
    • Thread