r/linuxfromscratch • u/RegularSociety4238 • 14d ago
root login incorrect on lfs
Fixed!!!
i cant log in my new lfs.
/etc/passwd and /etc/shadpw are correct , also it logs when I do 'log root' in chroot from my host and everythin works fine except for that
11
Upvotes
7
u/allunia333 13d ago
I have seen this in the past.... try in the run service: exec chpst -P /usr/sbin/agetty --noclear tty1
3
u/Easy_Sheepherder_289 14d ago
Remount and chroot
1
u/Rockytriton Mod 14d ago
try adding another user, does that user have the same issue, if not can you login to root with su after that? Assuming you haven't installed pam yet or anything like that.
1
u/tiny_humble_guy 14d ago
Do you have linux-pam installed ?
0
u/Szelethus 14d ago
Could it be a keyboard layout issue? Some keyboards (like hungarian) have y and z switched up. Though I recall LFS set that up as well.