pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dx k9 <bitsandbytes88@hotmail.com>
Cc: posgres support <pgsql-admin@postgresql.org>
Subject: Re: initdb
Date: Tue, 13 Jan 2009 19:47:14 -0500
Message-ID: <4640.1231894034@sss.pgh.pa.us> (raw)
In-Reply-To: <COL120-W289F4D1F2A5F9670A145EED1D60@phx.gbl>
References: <COL120-W289F4D1F2A5F9670A145EED1D60@phx.gbl>

dx k9 <bitsandbytes88@hotmail.com> writes:
> I just tried initdb with the -A pam option and no -W.  As expected, I
> can't log into the instance.  There is  a MD5 hash and postgres still
> defaults to password authentication even though I did not use the -W.
> Is this a bug?

No.  initdb is not intended to set up any possible authorization
configuration for you; it only handles two or three common cases.
Feel free to adjust the configuration files afterward.

			regards, tom lane



view thread (4+ messages)

Message-ID: <4640.1231894034@sss.pgh.pa.us>
Permalink:  ../4640.1231894034@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4640.1231894034@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bitsandbytes88@hotmail.com
  Subject: Re: initdb
  In-Reply-To: <4640.1231894034@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox