glfs/postlfs/security/shadow.xml

25 lines
616 B
XML
Raw Normal View History

<sect1 id="shadow">
<?dbhtml filename="shadow.html" dir="postlfs"?>
<title>Configuring shadow</title>
<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_ENAB no</userinput></screen>
to read:
<screen><userinput>MD5_CRYPT_ENAB yes</userinput></screen></para>
<para>Passwords created after this change will be encrypted using MD5
instead of using DES encryption.</para>
&shadow-inst;
&shadow-exp;
&shadow-config;
</sect1>