Skip to content

Commit e1ed1a7

Browse files
committed
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
1 parent e28bb88 commit e1ed1a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ postgres$ <userinput>initdb -D /usr/local/pgsql/data</userinput>
199199
<primary>password</primary>
200200
<secondary>of the superuser</secondary>
201201
</indexterm>
202-
Also, specify <option>-A md5</option> or
203-
<option>-A password</option> so that the default <literal>trust</literal> authentication
202+
Also, specify <option>-A scram-sha-256</option>
203+
so that the default <literal>trust</literal> authentication
204204
mode is not used; or modify the generated <filename>pg_hba.conf</filename>
205205
file after running <command>initdb</command>, but
206206
<emphasis>before</emphasis> you start the server for the first time. (Other

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy