The parameter passwd_tries is used to specify the number of times a user can try to enter a password.
Defaults passwd_tries=5