Received: from island.6tems.com ([195.77.213.6]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4LFKgA67988 for ; Mon, 21 May 2001 11:20:44 -0400 (EDT) (envelope-from teixi@6tems.com) Received: from thinkpad (studio.6tems.com [213.96.34.17]) (authenticated (0 bits)) by island.6tems.com (8.11.1/8.11.1/Islandmail 8.11.0-6) with ESMTP id f4LFEee27669 for ; Mon, 21 May 2001 17:14:42 +0200 X-Authentication-Warning: island.6tems.com: Host studio.6tems.com [213.96.34.17] claimed to be thinkpad Date: Mon, 21 May 2001 17:14:49 +0200 From: Jaume Teixi To: psql-admin Subject: Re: cannot connect using terminal nor pgaccess Message-Id: <20010521171449.1f3696a4.teixi@6tems.com> In-Reply-To: References: <20010521161919.6dd07b95.teixi@6tems.com> X-Mailer: Sylpheed version 0.4.66 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/111 X-Sequence-Number: 1460 on day of Mon, 21 May 2001 17:00:19 +0200 (CEST), the message from Peter Eisentraut says: > Jaume Teixi writes: > > > $ psql -d template1 -U postgres > > psql: Peer authentication failed for user 'postgres' > > There is no "peer" authentication type in any official PostgreSQL release. he, I hope this is the unix socket method that Olly is developing on the current debian unstable release 7.1.1-3 isn't? but why the tcp/ip also doesn't works ? teixi@thinkpad:~$ grep -v ^# /etc/postgresql/pg_hba.conf | grep -i host host all 127.0.0.1 255.255.255.0 ident sameuser host all 0.0.0.0 0.0.0.0 reject suid postgres works teixi@thinkpad:~$ su - postgres -- psql template1 but without suid doesnt' teixi@thinkpad:~$ psql -d template1 -U postgres -h localhost -p 5432 psql: IDENT authentication failed for user 'postgres' any points ? thanks -- Jaume Teixi CTO 6TEMS - Ducform, SA http://www.6tems.com