Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 372506321AD for ; Tue, 13 Jan 2009 20:47:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 74015-03 for ; Tue, 13 Jan 2009 20:47:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id A6B156321B9 for ; Tue, 13 Jan 2009 20:47:16 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n0E0lELA004641; Tue, 13 Jan 2009 19:47:14 -0500 (EST) To: dx k9 cc: posgres support Subject: Re: initdb In-reply-to: References: Comments: In-reply-to dx k9 message dated "Tue, 13 Jan 2009 19:38:25 -0500" Date: Tue, 13 Jan 2009 19:47:14 -0500 Message-ID: <4640.1231894034@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/43 X-Sequence-Number: 31090 dx k9 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