1

I enabled pam_tally2 to lock a user after several password attempts. It works well at the TTY, login screen and ssh.

However, I usually lock the screen when leaving the computer. You can type as many wrong passwords as you want at the unlocking screen, while the account won't be locked like pam_tally2.

Is there any way to lock the user after several wrong attempts when unlocking the screen?

  • Was able to reproduce by configuring pam_tally2 inside common-auth and Mate's lock screen. mate-screensaver properly includes common-auth. Good luck. – Zulgrib Aug 7 '18 at 19:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.