2002-07-08 04:28:42 +08:00
|
|
|
<sect1 id="postlfs-security-shadow">
|
|
|
|
<?dbhtml filename="shadow.html" dir="postlfs"?>
|
|
|
|
<title>Configuring shadow</title>
|
|
|
|
|
2002-09-22 05:43:45 +08:00
|
|
|
<para>Shadow's Configuration File</para>
|
|
|
|
|
|
|
|
<para><userinput>/etc/login.defs</userinput></para>
|
|
|
|
|
|
|
|
<para>Enabling MD5 Passwords</para>
|
|
|
|
|
|
|
|
<para>To enable MD5 Passwords, modify the line in the login.defs file
|
|
|
|
that reads:
|
|
|
|
<screen><userinput>#MD5_CRYPT_ENABLE no</userinput></screen>
|
|
|
|
to read:
|
|
|
|
<screen><userinput>MD5_CRYPT_ENABLE yes</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Passwords created after this change will be encrypted using MD5
|
|
|
|
instead of using DES encryption.</para>
|
|
|
|
|
|
|
|
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|