# LightDM doesn‘t accept user password after live USB recovery

**URL:** <https://forum.endeavouros.com/t/lightdm-doesn-t-accept-user-password-after-live-usb-recovery/42260>\
**Category:** Pacman & AUR helpers\
**Created:** [June 21, 2023, 4:57am UTC](https://forum.endeavouros.com/t/lightdm-doesn-t-accept-user-password-after-live-usb-recovery/42260 "2023-06-21T04:57:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim203](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@kim203](https://forum.endeavouros.com/u/kim203)\
**Post date:** [June 21, 2023, 4:57am UTC](https://forum.endeavouros.com/t/lightdm-doesn-t-accept-user-password-after-live-usb-recovery/42260/1 "2023-06-21T04:57:36Z")

</div>

So I broke my pacman and in order to fix it, I booted into live USB, mounted my partition and ran pacstrap /mnt base

After booting back into my installation, LightDM would not accept my user account password. I logged into root instead (with the same password).

From there I could su into my user account and weirdly enough, sudo from within that did accept my password. passwd resets did not change anything. How do I analyze the problem and how do I get back into my account?

Edit: this is actually not only LightDM, even TTY. But su with password works fine. I also get no errors, it only says wrong password.

---

<div class="post-metadata">

**Author:** ![andrewb](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@andrewb](https://forum.endeavouros.com/u/andrewb)\
**Post date:** [June 21, 2023, 6:13am UTC](https://forum.endeavouros.com/t/lightdm-doesn-t-accept-user-password-after-live-usb-recovery/42260/2 "2023-06-21T06:13:43Z")

</div>

From your root login, try typing:

faillock --user youraccthere

If you see your account listed:, repeat but add:

faillock --user youraccthere --reset

---

<div class="post-metadata">

**Author:** ![kim203](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@kim203](https://forum.endeavouros.com/u/kim203)\
**Post date:** [June 21, 2023, 6:59am UTC](https://forum.endeavouros.com/t/lightdm-doesn-t-accept-user-password-after-live-usb-recovery/42260/3 "2023-06-21T06:59:06Z")

</div>

That was a good suggestion, but unfortunately it is not listed and the second command has no effect.

---

<div class="post-metadata">

**Author:** ![kim203](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@kim203](https://forum.endeavouros.com/u/kim203)\
**Post date:** [June 21, 2023, 7:01am UTC](https://forum.endeavouros.com/t/lightdm-doesn-t-accept-user-password-after-live-usb-recovery/42260/4 "2023-06-21T07:01:38Z")

</div>

Okay, I fixed it: I had to change back my shell from fish to bash. When I wanted to change back I got

> chsh: Warning: „/bin/fish“ is not listed in /etc/shells.

Reinstalling fish did the trick

---

<div class="post-metadata">

**Author:** ![andrewb](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@andrewb](https://forum.endeavouros.com/u/andrewb)\
**Post date:** [June 22, 2023, 7:22am UTC](https://forum.endeavouros.com/t/lightdm-doesn-t-accept-user-password-after-live-usb-recovery/42260/5 "2023-06-22T07:22:25Z")

</div>

The two commas there look suspicious. No idea what happened. Something didn’t go cleanly though.

You may have other problems with fish as your shell. It’s not POSIX compliant, so some scripts may not run. Fish would be ok to run as a terminal app from DE or WM though.
