• 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
Re: Installer Plugins - how to run as root?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Installer Plugins - how to run as root? (From: Andy Kim <email@hidden>)
 >Re: Installer Plugins - how to run as root? (From: Peter Bierman <email@hidden>)

  • Prev by Date: Re: Installer Plugins - how to run as root?
  • Next by Date: Re: Installer Plugins - how to run as root?
  • Previous by thread: Re: Installer Plugins - how to run as root?
  • Next by thread: Re: Installer Plugins - how to run as root?
  • Index(es):
    • Date
    • Thread