Re: Installer Plugins - how to run as root?
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com Excellent, your solution should definitely work for me. Thanks! -Andy On May 11, 2007, at 1:29 PM, Peter Bierman wrote: Hi all, My question is as follow: _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... At 12:14 PM -0700 5/11/07, Andy Kim wrote: * How can I get the Installer Plugins to run as root? You can't. The Installer.app process does not run as root, ever, for very good security reasons. Installer plugins are UI plugins whose code runs inside the Installer.app process. You can, however, have your plugins communicate with your install scripts, which do run as root. Have your plugin get the installer's session temp directory, which I think is also passed to the scripts. You can drop a cookie file in there with the data you want to pass from the plugin to your script. -pmb This email sent to site_archiver@lists.apple.com
participants (1)
-
Andy Kim