Re: pg_hba.conf question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Graham Vickrage" <graham(at)digitalplanit(dot)com>
Cc: "Postgres Admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_hba.conf question
Date: 2001-01-29 15:07:37
Message-ID: 24399.980780857@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Graham Vickrage" <graham(at)digitalplanit(dot)com> writes:
> I noticed that you can't use the 'ident sameuser' with local unix sockets,
> what is the method of getting round this as I cant use trust for this
> database?

ident only works with TCP sockets. You could require people to connect
to host localhost, ie, use a local TCP connection instead of a Unix
socket. Set up 127.0.0.1 as ident sameuser and socket connections as
reject in pg_hba.conf.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2001-01-29 15:26:33 Re: Database ... has disappeared from pg_database
Previous Message Kim Minh Kaplan 2001-01-29 14:50:45 Re: postgres limitation