Re: Run pre-GUI script as root
Re: Run pre-GUI script as root
- Subject: Re: Run pre-GUI script as root
- From: Bill Coderre <email@hidden>
- Date: Wed, 08 May 2013 13:25:11 -0700
Apple's Installer is not designed to do that. The general design idea is that the user's system is NOT changed until the user clicks "Install." (Of course, there are a few loopholes, but please, please do not violate the idea.)
On May 8, 2013, at 7:08 AM, Scott Grosch <email@hidden> wrote:
> I'm using Packages to build my installer, and I'm finding the need to run a command, *as root*, before the GUI runs. Specifically when my custom installer screen is run I need to already have postgres running on the system, and so I need something to run a 'serveradmin start postgres' command with root privs. The installer doesn't ask for the root password until the actual install step it seems. Is this possible?
_______________________________________________
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