Wrong Password
This has happened to me twice in the past months and its not something common but it is really weird. Randomly when I am running sudo it says my password is wrong and I sign out and can't sign back in since it is still saying my password is wrong. I have to turn off and on my computer for my password to work again. And no I didn't put it in wrong, I tried with care like 20 times.
About this post
- Posted
- Archived
- Score
- 13 · 81% up
- Kind
- Text
- ID
- 15exmt2
32 comments
The next time this happens again, log in as root and check the output of 'faillock'.
thnx will try
Did you fail to input a correct password before though?
By default if you input a wrong password 3 times, you get a timeout during which you will not be able to log in.
If not manually, maybe you have some stupid program running that pipes a wrong password to sudo for some reason?
I didn't do it wrong for 3 times. And also what is the piping thing you are talking about and how can I check for it?
Nah. It's happened toe a few times. Maybe four in all over several years. The first time I thought I was losing it lol
Yes. This happens to me occasionally when I'm using mis-formed Sanoid commands to move zfs datasets around, or trying to pipe passwords into ssh.
Arch enables
pam-faillockby default. You are locked out for 10 minutes after 3 failed login attempts in a 15 minute period. See Archwiki - Security, pambaseIf you type it wrong thrice you'll keep getting wrong password even if you type it correctly afterwards
I think when you put wrong password 3times it locks sudo access temporarily until you restart your PC again
Definitely not by default, though!
It's definitely by default happened to me in fresh arch install
The same thing happens to me too from time to time. My 100% correct password is not accepted and I have to reboot to fix it.
Same for me, this post actually relief me from thinking I was the only having this issue
To unlock yourself, on root user run
faillock --user username --resetor reboot. To edit your faillock security settings, edit the file /etc/security/faillock.confI personally made it less forgiving, because pressing ctrl+c to cancel a command counts as a fail, and being away when being asked for a password probably also counts. There's many things that probably count as a fail. I don't like it very much, I figured that if it's this likely to get locked I should make it more forgiving.
I think it is the ctrl c because I always sit upright and type slowly on the 2nd login attempt because I also did 2 ctrl c before that.
I have the same problem from time to time. Solve it by simply sitting quietly for 10 minutes )
Is it possible the wrong keyboard layout was in use (not by your fault, but a bug)?
I had a similar if not the same issue I think because of the shell I had set, no idea why. I set it back to bash and it worked fine. Maybe also check if the keyboard layout is correct.
I have the same problem in EndeavourOS, it is a random situation.
I know I type the correct PW, it is just 3 letters, when it fails I just type it in the text editor to check.
If I do a Logout, the same situation occurs in lightdm, and where, it fails again and then set the warnings of 3 wrong attempts.
I need to reboot.
This appended me only 3 times since the new year.
thank you for the instant access to your machine ;)
My PC doesn't go outside and I don't have secrets to my wife hahahah. xD
It's been happening to me for the last couple of days, not sure what's caused it. Nothing new installed except for regular updates
Keyboard layout is correct (typing password into console produces expected text), password being typed correctly
As another user suggested a quick su and faillock --reset does appear to fix it
Hoping it fixes itself, annoying
Ctrl c counts as fail so watch out
it ain't that either but thanks!
Maybe it's because there is a security of someone trying to enter the password again and again until he gets it right. When you enter a wrong password 3 or 5 times continuously a timeout of like 10 minutes takes place where even if you enter it correctly nothing will happen. On Android this happens and people in the comments are saying arch has something similar to it.
you can still use
suin there you can unlock yourself with somethingfaillock unlock usernameFaillock --resetHappened every time I tried to sudo. Found there was a script calling a sudo command, and idk why, but it was setting faillock.
Faillock --resetHappened every time I tried to sudo. Found there was a script calling a sudo command, and idk why, but it was setting faillock.
I've had that and had to type my password something like 30 times total, 15 times to get pissed off, 15 times again and then I rebooted and it worked lol
i had to just reinstall
this is on two seperate installs. But im glad I didn't have to reinstall the whole system
Fortunately Manjaro installer is pretty straightforward.