Re: pgsql password when FreeBSD boots -- what's usual? - Mailing list pgsql-general

From Tom Lane
Subject Re: pgsql password when FreeBSD boots -- what's usual?
Date
Msg-id 25667.1049344659@sss.pgh.pa.us
Whole thread Raw
In response to pgsql password when FreeBSD boots -- what's usual?  (Joel Rees <joel@alpsgiken.gr.jp>)
Responses Re: pgsql password when FreeBSD boots -- what's usual?
List pgsql-general
Joel Rees <joel@alpsgiken.gr.jp> writes:
> During the bootup monologue, in the middle of init-ing the usual daemon
> processes, I suddenly get a Password: prompt. I enter the postgres
> user's password for the one database I'm running, and pgsql prints its
> name out and boot proceeds otherwise normally.

Is your boot script launching the postmaster via "pg_ctl"?  If so, try
telling pg_ctl not to wait for the postmaster to start (-W option I
think)

> I should note that after logging in, I usually sudo -u postgres tcsh,
> and use pg_ctl from there, and I never get prompted for the password.

That seems odd if you do get prompted during boot.  Mind telling us
exactly what you've got in pg_hba.conf?

            regards, tom lane


pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: length of login names
Next
From: Sean Chittenden
Date:
Subject: Re: pgsql password when FreeBSD boots -- what's usual?