Skip to content

[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

19 points21 comments
Open on Reddit
About this post
Posted
Archived
Score
19 · 100% up
Kind
Text
ID
clngwi

Author

4
posts
13
comments
0
media
View profile

21 comments

Just to be clear -- you're getting this error after rebooting into your newly installed system?

If you arch-chroot and run journalctl SYSLOG_FACILITY=10, are there any error messages there?

9 points

Yes I'm getting the error after rebooting and no there are no error messages when running journalctl SYSLOG_FACILITY=10

1 points

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.

6 points

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.

1 points

I just followed the wiki and did # genfstab -U /mnt >> /mnt/etc/fstab

1 points

Are you sure you're not trying to sign into root with a password you had created for a normal user?

1 points

Pretty sure I didn't even have a normal user when the problem first occurred

1 points

Can happen if root is mounted read only at login. Just something to double check.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.