X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 88BE5475843 for ; Tue, 11 Feb 2003 18:28:13 -0500 (EST) Received: from mta4.snet.net (mta4.snet.net [204.60.203.76]) by postgresql.org (Postfix) with ESMTP id 02E32474E5C for ; Tue, 11 Feb 2003 18:28:13 -0500 (EST) Received: from pop.snet.net (pop.snet.net [204.60.203.72]) by mta4.snet.net (8.12.3/8.12.3/SNET-mx-1.2/D-1.1.1.1/O-1.1.1.1) with ESMTP id h1BNRaVU024440 for ; Tue, 11 Feb 2003 18:27:36 -0500 (EST) X-Originating-IP: [64.252.95.167] X-SBCIS-MTA: [pop.snet.net] Received: from [192.168.1.83] (167.95.252.64.snet.net [64.252.95.167]) by pop.snet.net (8.12.3/8.12.3/SNET-pop-1.2/D-1.1.1.1/O-1.1.1.1) with ESMTP id h1BNS6TV018640 for ; Tue, 11 Feb 2003 18:28:06 -0500 (EST) Date: Tue, 11 Feb 2003 18:28:38 -0500 (EST) From: Wei Weng X-X-Sender: wweng@localhost.localdomain To: pgsql-sql@postgresql.org Subject: What is wrong with this identification configuration? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/224 X-Sequence-Number: 11622 This is the idenfication setup in my /var/lib/pgsql/data/pg_hba.conf local all trust host all 127.0.0.1 255.255.255.255 trust This is supposed to authenticate any user to be able to access my postgresql system any time, no? But this is what happened ( I tried to "log in" the template1 database with root, postgres system account and my own user account) [root@Monet wweng]# su postgres bash-2.05a$ psql template1 psql: FATAL 1: No pg_hba.conf entry for host localhost, user postgres, database template1 bash-2.05a$ exit [root@Monet wweng]# psql template1 psql: FATAL 1: No pg_hba.conf entry for host localhost, user root, database template1 [root@Monet wweng]# exit [wweng@Monet wweng]$ psql template1 psql: FATAL 1: No pg_hba.conf entry for host localhost, user wweng, database template1 Why is this happening? And how can I log in the template1 database? I am using postgresql 7.2.3 on Redhat 7.3. bash-2.05a$ rpm -qa | grep postgresql postgresql-7.2.3-5.73 postgresql-libs-7.2.3-5.73 postgresql-server-7.2.3-5.73 postgresql-devel-7.2.3-5.73 Thanks a lot! Wei