Received: from island.6tems.com ([195.77.213.6]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4LEIIA36907 for ; Mon, 21 May 2001 10:18:19 -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 f4LECRe26211 for ; Mon, 21 May 2001 16:12:28 +0200 X-Authentication-Warning: island.6tems.com: Host studio.6tems.com [213.96.34.17] claimed to be thinkpad Date: Mon, 21 May 2001 16:19:19 +0200 From: Jaume Teixi To: psql-admin Subject: cannot connect using terminal nor pgaccess Message-Id: <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/105 X-Sequence-Number: 1453 $ psql -d template1 -U postgres psql: Peer authentication failed for user 'postgres' $ psql -d template1 -U postgres -h localhost -p 5432 psql: IDENT authentication failed for user 'postgres' $ grep -v ^# /etc/postgresql/pg_hba.conf | grep -i sameuser local all peer sameuser host all 127.0.0.1 255.255.255.0 ident sameuser $ su - postgres -- psql template1 Password: Welcome to psql, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit template1=# select postgres from pg_user; usename | usesysid | usecreatedb | usetrace | usesuper | usecatupd | passwd | valuntil -------------+----------+-------------+----------+----------+-----------+----------+---------- postgres | 31 | t | t | t | t | ******** | what I am missing in this case ? thanks! -- Jaume Teixi CTO 6TEMS - Ducform, SA http://www.6tems.com