Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0TF7pq95773 for ; Mon, 29 Jan 2001 10:07:51 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f0TF7c924402; Mon, 29 Jan 2001 10:07:38 -0500 (EST) To: "Graham Vickrage" cc: "Postgres Admin" Subject: Re: pg_hba.conf question In-reply-to: References: Comments: In-reply-to "Graham Vickrage" message dated "Mon, 29 Jan 2001 11:10:14 +0000" Date: Mon, 29 Jan 2001 10:07:37 -0500 Message-ID: <24399.980780857@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200101/210 X-Sequence-Number: 587 "Graham Vickrage" 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