diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 7c2a206ab..7252d7272 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -74,6 +74,11 @@ file while copying it to its destination: /etc/login.defs +If you built Shadow with Cracklib support, insert the following into +the sed given below: +-e 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' + + sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ -e 's@/var/spool/mail@/var/mail@' \ etc/login.defs.linux > /etc/login.defs diff --git a/general.ent b/general.ent index caf3a753d..3485d38ea 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + +