X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 988C2474E5C for ; Tue, 11 Feb 2003 16:25:44 -0500 (EST) Received: from mta3.snet.net (mta3.snet.net [204.60.203.69]) by postgresql.org (Postfix) with ESMTP id 0EA6B474E53 for ; Tue, 11 Feb 2003 16:25:44 -0500 (EST) Received: from Monet (167.95.252.64.snet.net [64.252.95.167]) by mta3.snet.net (8.12.3/8.12.3/SNET-smtp-1.2/D-1.1.1.1/O-1.1.1.1) with ESMTP id h1BLJicY029567 for ; Tue, 11 Feb 2003 16:19:45 -0500 (EST) Content-Type: text/plain; charset="us-ascii" From: Wei Weng To: pgsql-sql@postgresql.org Subject: What's wrong with this identification configuration? Date: Tue, 11 Feb 2003 16:26:01 -0500 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302111626.01386.wweng@cs.columbia.edu> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/251 X-Sequence-Number: 11649 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 postgresq= l=20 system any time, no? But this is what happened: [root@Monet wweng]# su postgres bash-2.05a$ psql template1 psql: FATAL 1: No pg_hba.conf entry for host localhost, user postgres,=20 database template1 bash-2.05a$ exit [root@Monet wweng]# psql template1 psql: FATAL 1: No pg_hba.conf entry for host localhost, user root, databas= e=20 template1 [root@Monet wweng]# exit [wweng@Monet wweng]$ psql template1 psql: FATAL 1: No pg_hba.conf entry for host localhost, user wweng, databa= se=20 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