2002-12-07 23:24:45 +08:00
|
|
|
<sect1 id="shadow">
|
2002-07-08 04:28:42 +08:00
|
|
|
<?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:
|
2002-10-09 22:51:31 +08:00
|
|
|
<screen><userinput>#MD5_CRYPT_ENAB no</userinput></screen>
|
2002-09-22 05:43:45 +08:00
|
|
|
to read:
|
2003-09-24 00:38:50 +08:00
|
|
|
<screen><userinput>MD5_CRYPT_ENAB yes</userinput></screen>
|
|
|
|
Passwords created after this change will be encrypted using MD5
|
2002-09-22 05:43:45 +08:00
|
|
|
instead of using DES encryption.</para>
|
|
|
|
|
2002-12-07 23:24:45 +08:00
|
|
|
&shadow-inst;
|
|
|
|
&shadow-exp;
|
|
|
|
&shadow-config;
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|