Launching as Root
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