[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] trying to bootstrap database on Mac "Cannot bootstrap
Re: [Gnumed-devel] trying to bootstrap database on Mac "Cannot bootstrap bundles."
Thu, 01 Jul 2010 00:29:52 -0700
On 2010-07-01, at 12:05 AM, Karsten Hilbert wrote:
> BTW, is that the *entire* active content of pg_hba.conf ?
yes, that's it (3 lines)
> 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
- the bootstrapper does su to postgres
- as (now) postgres, the autoconnect is possible
on Linux and Windows *without* need for the IDENT line
on Mac only *with* an IDENT line
and therefore on wiki page
section 5 is also needed for Mac if root (or postgres) are to autoconnect?