shadow: Enabling MD5 passwords by default

Dieter Schmitz dieter.schmitz at uni.de
Tue May 28 14:28:30 PDT 2002


Hello List,

I noticed that the shadow Package disable MD5-based Passwords by default. MD5
Passwords are much securer and I don't see any disadvantage to enable
it by default. To enable MD5 Passwords you should replace this command in the
shadow package

sed 's%/var/spool/mail%/var/mail%' \
    etc/login.defs.linux > /etc/login.defs &&

by this

sed 's%/var/spool/mail%/var/mail%
     s%^#MD5_CRYPT_ENAB.*no%MD5_CRYPT_ENAB yes%' login.defs.linux \
   > /etc/login.defs &&

Maybe you can enable it by default.

Greetings
Dieter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20020528/a8e9058c/attachment.sig>


More information about the lfs-dev mailing list