With the way pam_tally2 is currently configured, the counter gets increased every time a user logs in.
I'm adding the part which actually reset the counter after a successful login.
This fixes #41.
This is how to verify the failures number increases every time one logs in (e.g. when the connection is established, but before the mfa challenge is answered):
With the way pam_tally2 is currently configured, the counter gets increased every time a user logs in. I'm adding the part which actually reset the counter after a successful login.
This fixes #41.
This is how to verify the failures number increases every time one logs in (e.g. when the connection is established, but before the mfa challenge is answered):
With this PR in place, you will see the counter getting back to 0 after a successful login (after mfa challenge is successfully answered).