From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pedro Fonseca <pedro.fonseca@netcabo.pt>
Cc: pgsql-admin@postgresql.org
Subject: Re: Authorization problem
Date: Wed, 03 Oct 2001 13:46:15 -0400
Message-ID: <6352.1002131175@sss.pgh.pa.us> (raw)
In-Reply-To: <9pfbvv$15vu$1@news.tht.net>
References: <20011003161206.A560@klingon.dorna.es>
<9pfbvv$15vu$1@news.tht.net>
"Pedro Fonseca" <pedro.fonseca@netcabo.pt> writes:
> In short: I'd like this database accessible only by *one* PostgreSQL user
> (instead of all), I don't want this user to have to authenticate through a
> password and I don't want to use TCP/IP.
Possibly setting restrictive permissions on the socket file is the way
to go (see the unix_socket parameters in postgresql.conf). pg_hba will
certainly not help you here, but if you can set up an /etc/group entry
with only the authorized users as its members, you're set.
regards, tom lane
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: tgl@sss.pgh.pa.us, pedro.fonseca@netcabo.pt
Subject: Re: Authorization problem
In-Reply-To: <6352.1002131175@sss.pgh.pa.us>
References: <20011003161206.A560@klingon.dorna.es> <9pfbvv$15vu$1@news.tht.net> <6352.1002131175@sss.pgh.pa.us>
* 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