mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
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
This commit is contained in:
parent
e28bb88519
commit
e1ed1a7aa5
@ -199,8 +199,8 @@ postgres$ <userinput>initdb -D /usr/local/pgsql/data</userinput>
|
|||||||
<primary>password</primary>
|
<primary>password</primary>
|
||||||
<secondary>of the superuser</secondary>
|
<secondary>of the superuser</secondary>
|
||||||
</indexterm>
|
</indexterm>
|
||||||
Also, specify <option>-A md5</option> or
|
Also, specify <option>-A scram-sha-256</option>
|
||||||
<option>-A password</option> so that the default <literal>trust</literal> authentication
|
so that the default <literal>trust</literal> authentication
|
||||||
mode is not used; or modify the generated <filename>pg_hba.conf</filename>
|
mode is not used; or modify the generated <filename>pg_hba.conf</filename>
|
||||||
file after running <command>initdb</command>, but
|
file after running <command>initdb</command>, but
|
||||||
<emphasis>before</emphasis> you start the server for the first time. (Other
|
<emphasis>before</emphasis> you start the server for the first time. (Other
|
||||||
|
Loading…
x
Reference in New Issue
Block a user