[Noob here] authentication failure
Hello all. I just installed arch linux in my laptop but when I tried logging in as root it returns authentication failure. If I just type a random password tho it returns incorrect password. I actually tried to arch-chroot into my system and changed my password to something simple but I still got authentication failure. I'm pretty sure it's not me mistyping anything and I think it's not a keyboard layout problem. I found someone else with the same problem in the submission but didn't find any answers. Sorry for any grammar mistakes Any suggestion is appreciated
About this post
- Posted
- Archived
- Score
- 19 · 100% up
- Kind
- Text
- ID
- clngwi
21 comments
Just to be clear -- you're getting this error after rebooting into your newly installed system?
If you
arch-chrootand runjournalctl SYSLOG_FACILITY=10, are there any error messages there?Yes I'm getting the error after rebooting and no there are no error messages when running journalctl SYSLOG_FACILITY=10
Alright lets try to narrow things down. Does this apply to all users, or just root? If you haven't yet, from the arch-chroot try creating a user with
useradd -s /bin/bash -m <username>, setting a password w/passwd <username>. See if you can log in with that.Did you add
/mount to fstab? Maybe comment it out and let systemd manage it. I think I had that when root was mounted read-only or something.I just followed the wiki and did # genfstab -U /mnt >> /mnt/etc/fstab
Are you sure you're not trying to sign into root with a password you had created for a normal user?
Pretty sure I didn't even have a normal user when the problem first occurred
Can happen if root is mounted read only at login. Just something to double check.