From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: initdb: Change authentication defaults
Date: Mon, 22 Jul 2019 13:20:27 +0000
Message-ID: <E1hpYEt-0004in-Fq@gemulon.postgresql.org> (raw)
initdb: Change authentication defaults
Change the defaults for the pg_hba.conf generated by initdb to "peer"
for local (if supported, else "md5") and "md5" for host.
(Changing from "md5" to SCRAM is left as a separate exercise.)
"peer" is currently not supported on AIX, HP-UX, and Windows. Users
on those operating systems will now either have to provide a password
to initdb or choose a different authentication method when running
initdb.
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/bec17f0a-ddb1-8b95-5e69-368d9d0a3390%40postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/09f08930f0f6fd4a7350ac02f29124b919727198
Modified Files
--------------
doc/src/sgml/ref/initdb.sgml | 17 ++++++++++++++++-
doc/src/sgml/runtime.sgml | 23 +++++++++--------------
doc/src/sgml/standalone-install.xml | 9 ---------
src/bin/initdb/initdb.c | 31 ++++++++++---------------------
src/include/port.h | 5 +++++
src/test/regress/pg_regress.c | 2 +-
6 files changed, 41 insertions(+), 46 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: initdb: Change authentication defaults
In-Reply-To: <E1hpYEt-0004in-Fq@gemulon.postgresql.org>
References: <E1hpYEt-0004in-Fq@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox