Skip to content

Commit 8e65dde

Browse files
committed
翻译PG11 passwordcheck.sgml
1 parent 729d1cf commit 8e65dde

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

postgresql/doc/src/sgml/passwordcheck.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ ____________________________________________________________________________-->
1919
<para>
2020
The <filename>passwordcheck</filename> module checks users' passwords
2121
whenever they are set with
22-
<xref linkend="SQL-CREATEROLE"> or
22+
<xref linkend="sql-createrole"/> or
2323
<xref linkend="SQL-ALTERROLE">.
2424
If a password is considered too weak, it will be rejected and
2525
the command will terminate with an error.
2626
</para>
2727
____________________________________________________________________________-->
2828
<para>
29-
只要通过<xref linkend="SQL-CREATEROLE"/>或<xref linkend="SQL-ALTERROLE"/>设置用户,<filename>passwordcheck</filename>模块会检查用户的口令。如果一个口令被认为太弱,它将被拒绝并且该命令将带着一个错误终止。
29+
只要通过<xref linkend="sql-createrole"/>或<xref linkend="sql-alterrole"/>设置用户,
30+
<filename>passwordcheck</filename>模块会检查用户的口令。如果一个口令被认为太弱,它将被拒绝并且该命令将带着一个错误终止。
3031
</para>
3132

3233
<!--==========================orignal english content==========================
@@ -44,7 +45,7 @@ ____________________________________________________________________________-->
4445
<para>
4546
You can adapt this module to your needs by changing the source code.
4647
For example, you can use
47-
<ulink url="http://sourceforge.net/projects/cracklib/">CrackLib</ulink>
48+
<ulink url="https://sourceforge.net/projects/cracklib/">CrackLib</ulink>
4849
to check passwords &mdash; this only requires uncommenting
4950
two lines in the <filename>Makefile</filename> and rebuilding the
5051
module. (We cannot include <productname>CrackLib</productname>
@@ -55,7 +56,7 @@ ____________________________________________________________________________-->
5556
</para>
5657
____________________________________________________________________________-->
5758
<para>
58-
你可以通过修改源代码来按你的需要修改这个模块。例如,你可以使用<ulink url="http://sourceforge.net/projects/cracklib/">CrackLib</ulink>来检查口令 &mdash; 这只需要在<filename>Makefile</filename>中取消两行的注释并且重新编译该模块(由于授权原因,我们不能默认包括<productname>CrackLib</productname>)。如果没有<productname>CrackLib</productname>,该模块会对口令强度强制一些简单的规则,你可以自行修改和扩充。
59+
你可以通过修改源代码来按你的需要修改这个模块。例如,你可以使用<ulink url="https://sourceforge.net/projects/cracklib/">CrackLib</ulink>来检查口令 &mdash; 这只需要在<filename>Makefile</filename>中取消两行的注释并且重新编译该模块(由于授权原因,我们不能默认包括<productname>CrackLib</productname>)。如果没有<productname>CrackLib</productname>,该模块会对口令强度强制一些简单的规则,你可以自行修改和扩充。
5960
</para>
6061

6162
<caution>

0 commit comments

Comments
 (0)