Can we stop defaulting to 'ident'?

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Can we stop defaulting to 'ident'?
Date: 2019-12-19 04:58:59
Message-ID: CAMsr+YFCuBGWh4=aM-K2LCsBEwcrqm=pphKKHEH09vHwXcspow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-pkg-yum

'ident' doesn't work by default on any RPM disto.

It's not clear why the initdb wrapper for the rpm packages defaults to
generating 'host' entries with 'ident' auth, but I think it's pretty
unhelpful. At least if we used 'md5' the user could set passwords and have
them actually work.

initdbcmd="$PGENGINE/initdb --pgdata='$PGDATA' --auth='ident'"
initdbcmd+=" $PGSETUP_INITDB_OPTIONS"

I know you can override it easily enough, but most people won't know to.

--
Craig Ringer http://www.2ndQuadrant.com/
2ndQuadrant - PostgreSQL Solutions for the Enterprise

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message James Cassell 2019-12-19 15:20:27 Re: Can we stop defaulting to 'ident'?
Previous Message apt.postgresql.org Repository Update 2019-12-18 12:26:26 pspg updated to version 2.6.1-1.pgdg+1

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message James Cassell 2019-12-19 15:20:27 Re: Can we stop defaulting to 'ident'?
Previous Message David Ghedini 2019-12-18 09:19:24 CentOS 7/PGSQL 12: PgRouting 2.6 Conflict with PostGIS 3