My Linux account is locked after failed logins and I do not want to wait it out
I mistyped my password several times on a console login and the account is now locked, with a message saying it is locked due to failed attempts.
I still have root access to the machine through another route, so I am not shut out entirely. I would rather not sit and wait for the timeout to expire.
What is the mechanism doing this, and how do I clear it properly rather than by rebooting?
@ssh_serkan · 2w ago
Worth looking at the listing output before resetting rather than clearing it reflexively.
The record shows when each failure happened and from where. If the failures are all from your console in the last two minutes, that is you mistyping and there is nothing to think about.
If there are failures from times you were not at the machine, or from a network source, that is a different situation and the lockout just did its job. On a machine reachable from the internet, repeated failed attempts against a named account are routine background noise, and seeing them is a good prompt to check that password authentication is disabled for remote access in favour of keys.
So: read, then reset.
Reply
Report