From 4ca29d02e5bc60d0a2b2a6f4210f879abc6767ff Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Mar 2018 11:55:35 +0000 Subject: [PATCH] Credit scores on passwords --- src/freedombone-utils-passwords | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-utils-passwords b/src/freedombone-utils-passwords index c289dfb4..fa5c8703 100755 --- a/src/freedombone-utils-passwords +++ b/src/freedombone-utils-passwords @@ -46,7 +46,7 @@ function enforce_good_passwords { fi apt-get -yq install libpam-cracklib - sed -i 's/password.*requisite.*pam_cracklib.so.*/password required pam_cracklib.so retry=2 dcredit=-4 ucredit=-1 ocredit=-1 lcredit=0 minlen=10 reject_username/g' /etc/pam.d/common-password + sed -i 's/password.*requisite.*pam_cracklib.so.*/password required pam_cracklib.so retry=2 dcredit=-1 ucredit=-1 ocredit=0 lcredit=0 minlen=10 reject_username/g' /etc/pam.d/common-password mark_completed "${FUNCNAME[0]}" }