If you enter the wrong password too many times, your account may be locked out. The faillock command is used to manage this lockout mechanism.

Check the current lockout status with:

faillock --user <username>

If you still have access to the system, you can unlock your account by using the faillock command.

If you want to reset the lockout for a specific user, you can use:

faillock --user <username> --reset

or:

rm /var/run/faillock/myUsername

The directory where the faillock records are stored is typically /var/run/faillock/. You can view the contents of this directory to see the lockout records.

ls -l /var/run/faillock/