Fix Arch Linux randomly rejecting passwords with one command. Try βfaillock βuser $USERβ to reset login counter and regain access. Quick solution for a smooth computing"
If youβre an Arch Linux user, you may have experienced a frustrating issue where your password is randomly not being accepted by the system. This can be a major inconvenience and can cause a lot of frustration, especially if it happens frequently.
The good news is that there is a simple fix for this issue. The following bash code can be used to fix the problem:
bash faillock --user $USER
This command is used to reset the failed login count for the current user. By running this command, you will be able to reset the systemβs login counter and regain access to your account.
Itβs important to note that this command should only be used as a temporary solution. If you find yourself frequently having to run this command, itβs likely that there is a deeper issue with your system that needs to be addressed.
In any case, if youβre experiencing problems with your Arch Linux system not accepting your password, give the above command a try and see if it resolves the issue for you.