You are not logged in.
So I've suddenly run into this issue I believe after a pacman -Syu. I cannot log into any TTY as my (non-root) user - it simply says "Login incorrect".
I've done a
faillock --resetalready, so that's not the problem.
I actually deleted and recreated my user yesterday and was able to log in again, but upon turning my PC on today it stopped working again.
The strangest part about it is I have autologin setup on TTY1, which works, and from in that session I can use sudo and type in the same password and it works without issue. Google is not being particularly helpful here. Any ideas?
Last edited by Bigshizzle (2023-06-06 21:44:17)
Offline
faillock --listIs your pasword qwerty-safe?
Offline
Not sure what you mean by qwerty safe. Also faillock doesn't have a --list option for me but i'm guessing this is what you were looking for.
[root@supreme supreme]# faillog -u supreme
Login Failures Maximum Latest On
supreme 0 0 12/31/69 19:00:00 -0500 Offline
Yes, sorry, local wrapper script I forgot about…
Assuming you're not using a QWERTY password, any key on your keyboard that doesn't align w/ QWERTY isn't "qwerty - safe"
Try to change it to eg. "12345" to rule out that the getty login uses the wrong keymap.
Offline
Yeah no dice, still doesn't work with 12345. I should note this also prevents me from sshing in as my user. But again, my password works with sudo when I'm already logged in.
Offline
sudo pacman -Qikk pambaseOffline
~ sudo pacman -Qikk pambase
Name : pambase
Version : 20221020-1
Description : Base PAM configuration for services
Architecture : any
URL : https://www.archlinux.org
Licenses : GPL
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : pam
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 2.65 KiB
Packager : David Runge <dvzrv@archlinux.org>
Build Date : Thu 20 Oct 2022 05:57:24 AM EDT
Install Date : Thu 01 Jun 2023 05:35:34 PM EDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
pambase: 8 total files, 0 altered filesOffline
So it's not PAM…
Did you deactivate the user?
password -S supremeOffline
Anything in the journal indicating why the login is rejected?
Offline
I don't have a password command. And only things of interest in journalctl are this:
Jun 02 22:17:59 supreme login[1397]: FAILED LOGIN 1 FROM tty2 FOR supreme, Authentication failure
Jun 02 22:17:56 supreme login[1397]: pam_systemd_home(login:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.Offline
"passwd", sorry
Edit: homed is spam, but please post at least the context around the auth failure.
Last edited by seth (2023-06-03 06:05:30)
Offline
~ passwd -S supreme
supreme P 2023-06-01 0 99999 7 -1There was no other (relevant) context around the auth failure - the only things following it is bluetooth related things
Offline
You'd look more ahead of that line…
Also maybe interesting what the ssh failure logs.
And can you still login as a different user (root) or are you completely down to the autologin?
grep supreme /etc/passwd # despite the name this does not contain any passwords
cat /etc/shellsOffline
So the only pam module printing anything is pam_systemd_home? Nothing like the following?
login[378222]: pam_systemd_home(login:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
login[378222]: pam_unix(login:session): session opened for user loqs(uid=1000) by LOGIN(uid=0)
systemd-logind[1023]: New session c2 of user loqs.
systemd[1]: Started Session c2 of User loqs.
login[378222]: LOGIN ON tty2 BY loqsOffline
If there was a coredump I'd guess https://bbs.archlinux.org/viewtopic.php … 5#p2098775
Offline
Oh wow - /etc/shells was the clue. zsh was missing from it. Once I added it I was finally able to log in to TTYs again. I might've overwritten it when I was going over my pacnew files. I just reinstalled zsh to make sure it was added properly and everything works again. Thanks!
Offline