From 26360cad995c5e60b3af57289add823d32dd1e3b Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 3 Jun 2015 19:34:17 +0300 Subject: [PATCH] longer salt --- bin/v-check-user-password | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-check-user-password b/bin/v-check-user-password index f3594fab1..af87f77d6 100755 --- a/bin/v-check-user-password +++ b/bin/v-check-user-password @@ -50,7 +50,7 @@ fi # Parsing user's salt salt=$(grep "^$user:" /etc/shadow |cut -f 3 -d \$) -if [[ -z "$salt" ]] || [[ "${#salt}" -gt 8 ]]; then +if [[ -z "$salt" ]] || [[ "${#salt}" -gt 12 ]]; then echo "Error: password missmatch" echo "$DATE $user $ip failed to login" >> $VESTA/log/auth.log exit 9