Re: Can we stop defaulting to 'ident'?

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: Can we stop defaulting to 'ident'?
Date: 2019-12-20 07:45:37
Message-ID: 77df509da61adaebca6c5f0451f1c1616f1faa45.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-pkg-yum

Hi,

On Thu, 2019-12-19 at 12:58 +0800, Craig Ringer wrote:

> It's not clear why the initdb wrapper for the rpm packages defaults to
> generating 'host' entries with 'ident' auth,

Historical reasons, like at least 15 years or more.

> but I think it's pretty unhelpful. At least if we used 'md5' the user could
> set passwords and have them actually work.

IMHO the only alternative could be "trust", because I am not holding my breath
for the majority of our users to be able to setup a password that easily
(yeah). I'm also not inclined to setup a default password for RPM installations
(and also RPMs must not do any interactive work, like asking for a password)

Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2019-12-20 10:32:40 Re: Can we stop defaulting to 'ident'?
Previous Message Craig Ringer 2019-12-20 03:06:26 Re: Can we stop defaulting to 'ident'?

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Christoph Berg 2019-12-20 10:32:40 Re: Can we stop defaulting to 'ident'?
Previous Message Craig Ringer 2019-12-20 03:06:26 Re: Can we stop defaulting to 'ident'?