Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1ed1a7

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 stoprecommending the user to use md5 or even worse password.Suggested-By: Daniel WestermannAuthor: Jonathan S. KatzBackpatch-through: 14Discussion:https://postgr.es/m/GV0P278MB0419A8BAC0B0B84AFA5263D9D2DC9@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM
1 parente28bb88 commite1ed1a7

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>-Amd5</option> or
203-
<option>-A password</option>so that the default <literal>trust</literal> authentication
202+
Also, specify <option>-Ascram-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)

[8]ページ先頭

©2009-2025 Movatter.jp