You are not logged in.

#1 2021-01-12 13:21:58

Cz-David
Member
Registered: 2012-05-25
Posts: 33

[solved] Sudo stops accepting the correct password until system reboot

This is a consistent issue I am having when switching between keyboard layouts.

My password has numerals in it and when using the `cs` layout those get substituted by unicode characters. When I don't realise that I am on the wrong keyboard layout and enter a sudo password wrong it will always Sorry, try again. afterwards for the correct password regardless of the layout.

This is persistent across all existing or new terminals.

Doing a reboot always resolves this issue.

Any idea on how to debug this?

Last edited by Cz-David (2021-01-12 14:39:50)

Offline

#2 2021-01-12 13:44:13

Ropid
Member
Registered: 2015-03-09
Posts: 953

Re: [solved] Sudo stops accepting the correct password until system reboot

I remember there was a change in some default config that made it so your account gets locked for a certain amount of time if you make a mistake three times within fifteen minutes or so. I don't know if that change was in the PAM config somewhere or in the sudo config.

Offline

#3 2021-01-12 14:39:29

Cz-David
Member
Registered: 2012-05-25
Posts: 33

Re: [solved] Sudo stops accepting the correct password until system reboot

Wow, thank you, don't know what I was googling before but running

faillock --reset

as my user resolves this issue.

Offline

Board footer

Powered by FluxBB