[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] trying to bootstrap database on Mac "Cannot bootstrap
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] trying to bootstrap database on Mac "Cannot bootstrap bundles." |
Date: |
Thu, 1 Jul 2010 10:28:14 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Thu, Jul 01, 2010 at 12:29:52AM -0700, Jim Busser wrote:
> > If so, yes, the bootstrapper will fail to auto-connect
> > because it assumes:
> >
> > - you are running as "root" (which you are) and can then
> > su to "postgres" (we have tried to make the su Mac-compatible)
> >
> > - OR are running as "postgres" (which is not recommended still)
> >
> > - one can connect without a password (but with IDENT) by
> > *being* "postgres" (which the script will try to become
> > with help of su)
> >
> > And the above does not contain a line to allow people
> > *being* (IDENT) "postgres" to connect without a password.
> > Thus, a password needs to be supplied - for which the conf
> > files do contain (disabled) provisions.
>
> Are you saying that in order for the bootstrapper to be able to autoconnect
> - the human runs as root and runs the bootstrapper
correct
> - the bootstrapper does su to postgres
correct, but only as needed, the user shouldn't need to
worry about that
> - as (now) postgres, the autoconnect is possible
yes
> on Linux and Windows *without* need for the IDENT line
no, *because of* the IDENT line
> on Mac only *with* an IDENT line
correct, just like on Linux/Windows
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346