From d96d594f12991bdb7d583d603831b4ff3a50d679 Mon Sep 17 00:00:00 2001 From: Archaic Date: Mon, 8 Aug 2005 06:49:31 +0000 Subject: [PATCH] Added a 2nd note to shadow to mention further command changes needed to support Cracklib. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6630 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/shadow.xml | 5 +++++ general.ent | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 @@ - - + +