Re: Installer Plugins - how to run as root?
Re: Installer Plugins - how to run as root?
- Subject: Re: Installer Plugins - how to run as root?
- From: Andy Kim <email@hidden>
- Date: Fri, 11 May 2007 14:22:55 -0700
Excellent, your solution should definitely work for me. Thanks!
-Andy
On May 11, 2007, at 1:29 PM, Peter Bierman wrote:
At 12:14 PM -0700 5/11/07, Andy Kim wrote:
Hi all,
My question is as follow:
* 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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden