Um pouco de pesquisa no Google resulta em um link para esta documentação :
Task: Set Maximum Number of Login Failures
The -m option is allows you to set maximum number of login failures after
the account is disabled to specific number called MAX. Selecting MAX value
of 0 has the effect of not placing a limit on the number of failed logins.
The maximum failure count should always be 0 for root to prevent a denial of
services attack against the system:
# faillog -M MAX -u username
# faillog -M 10 -u vivek
faillog
faillog -u <user> -r
faillog -u oracle -m 0
/var/log/faillog
faillog -u <user> -m -1
No entanto, executando faillog
no CentOS7. De acordo com este Q & A pam_tally2
substitui o comando faillog
.
deny=n
Deny access if tally for this user exceeds n.