You are not logged in.
Pages: 1
Hey guys,
I just finished setting up Arch, installed lightdm and xfce4 etc. did a -Syyu and now I can't login to any user caus it says 'incorrect password'.
Naturally I googled the issue and tried multiple things, but I neither got any tally lines in my system-login file nor any .pacnew files in my pam.d directory.
If someone could help me that would be great. ![]()
Thanks in advance!
Offline
Which tutorial did you follow to install the system?
Were you able to log in to the installed system before installing lightdm? Can you log in as root?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Which tutorial did you follow to install the system?
Were you able to log in to the installed system before installing lightdm? Can you log in as root?
I used the standard Arch guide + a guide from a german youtuber.
Yes I was able to login befor installing lightdm and doing the -Syyu.
And yes I'm currently chrooted via the installation iso, but I'm not able to login as root via terminal or lightdm neither.
Last edited by salem2k (2020-11-24 14:08:39)
Offline
Offline
sadly none of that worked ...
Offline
What's in the log (journal) for the failed login attempts?
Offline
What's in the log (journal) for the failed login attempts?
so it says:
pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost user=salem
and also there is:
pam_systemd_home(lightdm:auth): systemd_homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Offline
The systemd_homed message is irrelevant, is there no context to pam_unix?
Are you sure the password is ok (esp. if it contains non-ascii or non-qwerty chars)?
Offline
The systemd_homed message is irrelevant, is there no context to pam_unix?
Are you sure the password is ok (esp. if it contains non-ascii or non-qwerty chars)?
Password is ok, all ascii.
i've got:
PAM _pam_load_conf_file: unable to open config for system-login
and:
pam_warn(login:auth): function=[pam_sm_authenticate] flags=0 service=[login] terminal=[tty2] user=[<unknown>] ruser=[<unknown>] rhost=[<unknown>]
followed by the "FAILED LOGIN ... FROM:" logs
Offline
Please post the journal (see first link in my signature), not some excerpts.
Also check /etc/shadow and test whether the password is actually correct.
The entry is something like
salem:$6$<salt>$<hash>:12345:0:99999:7:::and you can replicate the <hash> with
openssl passwd -6 -salt "<salt>" "your_password_here"The first number could also but should not be 1 or 5 - then pass that.
Last edited by seth (2020-11-24 16:37:38)
Offline
Please post the journal (see first link in my signature), not some excerpts.
Also check /etc/shadow and test whether the password is actually correct.
The entry is something likesalem:$6$<salt>$<hash>:12345:0:99999:7:::and you can replicate the <hash> with
openssl passwd -6 -salt "<salt>" "your_password_here"The first number could also but should not be 1 or 5 - then pass that.
so the hashes of the password match.
how do i extract the journal? cause arch is installed on my laptop.
Offline
https://wiki.archlinux.org/index.php/Sy … al_to_view
What journal have you been looking at so far??
Edit: "sudo journalctl -b -1", NOT "-xe" (latter produces useless clutter on a shortened log…)
Last edited by seth (2020-11-24 16:51:36)
Offline
so here is my journalctl -b -1:
Offline
Perhaps related to keyboard layout of LightDM?
Last edited by CarbonChauvinist (2020-11-24 17:42:52)
"the wind-blown way, wanna win? don't play"
Offline
Perhaps related to keyboard layout of LightDM?
no i tried that but no success ![]()
Offline
don't know what it was but reinstall did the job
Offline
Could have been hostname issue - you had at least iwd, dhcpcd and NetworkManager enabled and there's no sight of a console login approach.
But since you nuke the system we'll never know.
Anyway, read up https://wiki.archlinux.org/index.php/Ne … figuration - esp. the note in https://wiki.archlinux.org/index.php/Ne … k_managers
Offline
Pages: 1