diff options
author | Magnus Hagander <magnus@hagander.net> | 2022-05-31 21:59:47 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2022-05-31 22:01:58 +0200 |
commit | a694cf4ca496a7db66a61f6ec2a15a9af6493cef (patch) | |
tree | 13137fa93b3e8a933abc7c3729c546eeb4bae287 | |
parent | 042b584c7f7d6216c54359c0ee0f613ba3b3d9c2 (diff) | |
download | postgresql-a694cf4ca496a7db66a61f6ec2a15a9af6493cef.tar.gz postgresql-a694cf4ca496a7db66a61f6ec2a15a9af6493cef.zip |
Recommend scram-sha-256 instead of md5 authentication in docs
PostgreSQL 14 changed the default to be scram-sha-256, so we should stop
recommending the user to use md5 or even worse password.
Suggested-By: Daniel Westermann
Author: Jonathan S. Katz
Backpatch-through: 14
Discussion: https://postgr.es/m/GV0P278MB0419A8BAC0B0B84AFA5263D9D2DC9@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM
-rw-r--r-- | doc/src/sgml/runtime.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 900fd2055f8..cf2630c3fc3 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -199,8 +199,8 @@ postgres$ <userinput>initdb -D /usr/local/pgsql/data</userinput> <primary>password</primary> <secondary>of the superuser</secondary> </indexterm> - Also, specify <option>-A md5</option> or - <option>-A password</option> so that the default <literal>trust</literal> authentication + Also, specify <option>-A scram-sha-256</option> + so that the default <literal>trust</literal> authentication mode is not used; or modify the generated <filename>pg_hba.conf</filename> file after running <command>initdb</command>, but <emphasis>before</emphasis> you start the server for the first time. (Other |