Re: Using both ident and password in pg_hba.conf

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using both ident and password in pg_hba.conf
Date: 2016-05-11 15:46:14
Message-ID: 20160511154614.GA32530@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 09, 2016 at 22:43:53 -0400,
"D'Arcy J.M. Cain" <darcy(at)druid(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Josh berkus 2016-05-11 20:06:11 Meetup in Boston city?
Previous Message Kevin Grittner 2016-05-11 14:37:56 Re: Invalid data read from synchronously replicated hot standby