diff options
Diffstat (limited to 'doc/src/sgml/passwordcheck.sgml')
-rw-r--r-- | doc/src/sgml/passwordcheck.sgml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/src/sgml/passwordcheck.sgml b/doc/src/sgml/passwordcheck.sgml index 601f4892272..7ea32410463 100644 --- a/doc/src/sgml/passwordcheck.sgml +++ b/doc/src/sgml/passwordcheck.sgml @@ -59,4 +59,41 @@ </para> </caution> + <sect2 id="passwordcheck-configuration-parameters"> + <title>Configuration Parameters</title> + + <variablelist> + <varlistentry> + <term> + <varname>passwordcheck.min_password_length</varname> (<type>integer</type>) + <indexterm> + <primary><varname>passwordcheck.min_password_length</varname> configuration parameter</primary> + </indexterm> + </term> + <listitem> + <para> + The minimum acceptable password length in bytes. The default is 8. Only + superusers can change this setting. + </para> + <note> + <para> + This parameter has no effect if a user supplies a pre-encrypted + password. + </para> + </note> + </listitem> + </varlistentry> + </variablelist> + + <para> + In ordinary usage, this parameter is set in + <filename>postgresql.conf</filename>, but superusers can alter it on-the-fly + within their own sessions. Typical usage might be: + </para> + +<programlisting> +# postgresql.conf +passwordcheck.min_password_length = 12 +</programlisting> + </sect2> </sect1> |