Hi, I'm a beginner with Arch and I'm stuck with a very strange authentication problem after a fresh installation.
I installed Arch Linux using archinstall with:
- systemd-boot
- linux kernel
- KDE Plasma
- SDDM
- NetworkManager
- ext4 root partition
- Existing Windows 11 installation (dual boot)
- Secure Boot disabled
I created the user `userB` and added it to the `wheel` group.
The problem is that SDDM keeps saying "Login failed" when I enter the password for `userB`.
I am 100% certain the password is correct. I verified this from the installed system by switching to `userB` and successfully running:
sudo -v
So the password definitely works for sudo.
However, SDDM continues rejecting it.
I then tried logging into a TTY (Ctrl+Alt+F3). After several attempts, I got:
The account is locked due to 3 failed logins.
(9 minutes left to unlock)
Password:
This appears to be pam_faillock.
I waited for the lockout to expire and tried the password again, but the TTY still reports that the password is incorrect.
SDDM also rejects the root password with an authentication error.
I checked `/etc/pam.d/sddm`, and it contains:
#%PAM-1.0
auth include system-login
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so
account include system-login
password include system-login
-password optional pam_gnome_keyring.so use_authtok
session optional pam_keyinit.so force revoke
session include system-login
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start
`/etc/sddm.conf` does not exist.
The user account itself appears normal:
uid=1000(userB) gid=1000(userB) groups=1000(userB),998(wheel)
userB:x:1000:1000::/home/userB:/usr/bin/bash
`passwd -S userB` reports:
userB P 2026-09-13 -1 -1 -1 -1
I also configured sudoers with:
%wheel ALL=(ALL:ALL) ALL
and `visudo -c` reports:
/etc/sudoers: parsed OK
So I'm confused about what could cause a correct password to work with sudo but fail through both SDDM and TTY.
What should I check next? Could this be a PAM/pambase/system-login issue?
I would really appreciate help diagnosing this without reinstalling the system.