2008-10-11 17:14:43 +05:30
|
|
|
<!--
|
2021-12-05 21:05:27 +05:30
|
|
|
SPDX-FileCopyrightText: 2007 - 2008, Nicolas François
|
|
|
|
SPDX-License-Identifier: BSD-3-Clause
|
2008-10-11 17:14:43 +05:30
|
|
|
-->
|
2007-11-27 03:41:23 +05:30
|
|
|
<varlistentry>
|
|
|
|
<term><option>ENCRYPT_METHOD</option> (string)</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
This defines the system default encryption algorithm for encrypting
|
|
|
|
passwords (if no algorithm are specified on the command line).
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
It can take one of these values:
|
2009-08-21 20:32:32 +05:30
|
|
|
<replaceable>DES</replaceable> (default),
|
|
|
|
<replaceable>MD5</replaceable><phrase condition="sha_crypt">,
|
|
|
|
<replaceable>SHA256</replaceable>,
|
|
|
|
<replaceable>SHA512</replaceable></phrase>.
|
2020-04-10 16:39:55 +05:30
|
|
|
MD5 and DES should not be used for new hashes, see
|
|
|
|
<refentrytitle>crypt</refentrytitle><manvolnum>5</manvolnum>
|
|
|
|
for recommendations.
|
2007-11-27 03:41:23 +05:30
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Note: this parameter overrides the <option>MD5_CRYPT_ENAB</option>
|
|
|
|
variable.
|
|
|
|
</para>
|
2009-05-09 18:46:10 +05:30
|
|
|
<para condition="pam">
|
|
|
|
Note: This only affect the generation of group passwords.
|
|
|
|
The generation of user passwords is done by PAM and subject to the
|
|
|
|
PAM configuration. It is recommended to set this variable
|
|
|
|
consistently with the PAM configuration.
|
2007-11-27 03:41:23 +05:30
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|