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