Re: Using both ident and password in pg_hba.conf - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: Using both ident and password in pg_hba.conf
Date
Msg-id 20160511154614.GA32530@wolff.to
Whole thread Raw
In response to Re: Using both ident and password in pg_hba.conf  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-general
On Mon, May 09, 2016 at 22:43:53 -0400,
  "D'Arcy J.M. Cain" <darcy@druid.net> wrote:
>
>Of course PHP scripts have to run as nobody so I have no choice other
>than to have them store passwords in various config.php files but PHP
>users are used to that.  I would like to fix that but that's a war for
>another day.

You can use peer authentication if the php scripts run on the same machine
as the database, though you'd probably want to use a different local user
than 'nobody' to run under.


pgsql-general by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Invalid data read from synchronously replicated hot standby
Next
From: Josh berkus
Date:
Subject: Meetup in Boston city?