Re: Authentication drop-down? - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: Authentication drop-down?
Date
Msg-id 20040319024316.GA15052@wolff.to
Whole thread Raw
In response to Re: Authentication drop-down?  (Jon Jensen <jon@endpoint.com>)
List pgsql-hackers
On Fri, Mar 19, 2004 at 02:01:40 +0000, Jon Jensen <jon@endpoint.com> wrote:
> 
> That's true, but that doesn't satisfy the need. I want an automated
> process running as OS user "postgres" to authenticate with ident, but I'd
> also like to be able have, say, phpPgAdmin (running as user "apache")
> connect as Pg user "postgres" via the UNIX socket using an MD5 password.  
> There's currently no way to do both AFAICT. I can create another superuser
> with a different name so each user has different pg_hba settings, but
> that's about it.

You can treat domain socket and internet socket connections differently.
This is still a kludge but might solve your particular problem.


pgsql-hackers by date:

Previous
From: Jon Jensen
Date:
Subject: Re: Authentication drop-down?
Next
From: Tom Lane
Date:
Subject: Re: COPY formatting