We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f0aa6 commit 26360caCopy full SHA for 26360ca
bin/v-check-user-password
@@ -50,7 +50,7 @@ fi
50
51
# Parsing user's salt
52
salt=$(grep "^$user:" /etc/shadow |cut -f 3 -d \$)
53
-if [[ -z "$salt" ]] || [[ "${#salt}" -gt 8 ]]; then
+if [[ -z "$salt" ]] || [[ "${#salt}" -gt 12 ]]; then
54
echo "Error: password missmatch"
55
echo "$DATE $user $ip failed to login" >> $VESTA/log/auth.log
56
exit 9
0 commit comments