pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaume Teixi <teixi@6tems.com>
To: psql-admin <pgsql-admin@postgresql.org>
Subject: Re: cannot connect using terminal nor pgaccess
Date: Mon, 21 May 2001 17:14:49 +0200
Message-ID: <20010521171449.1f3696a4.teixi@6tems.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0105211659420.757-100000@peter.localdomain>
References: <20010521161919.6dd07b95.teixi@6tems.com>
	<Pine.LNX.4.30.0105211659420.757-100000@peter.localdomain>

on day of Mon, 21 May 2001 17:00:19 +0200 (CEST), the message from Peter
Eisentraut <peter_e@gmx.net> 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



view thread (8+ messages)  latest in thread

Message-ID: <20010521171449.1f3696a4.teixi@6tems.com>
Permalink:  ../20010521171449.1f3696a4.teixi@6tems.com/
Also on:    postgresql.org/message-id/20010521171449.1f3696a4.teixi@6tems.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: teixi@6tems.com
  Subject: Re: cannot connect using terminal nor pgaccess
  In-Reply-To: <20010521171449.1f3696a4.teixi@6tems.com>
  References: <20010521161919.6dd07b95.teixi@6tems.com> <Pine.LNX.4.30.0105211659420.757-100000@peter.localdomain> <20010521171449.1f3696a4.teixi@6tems.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox