Can't login to buildroot based FS image
I made a FS image with buildroot for x86_64, and I have loop mounted it and chrooted into it and added users to it as well as changing the root password. I tested it and made sure i could su all around to different users and all the passwords worked, and /etc/shadow and /etc/passwd exist and look fine to me.
Now I am using qemu to boot into the fs image using a kernel that I built, and it all works great except when I get the login prompt, nothing works. no matter what I type it always tells me the password is wrong. Its really annoying because I know that I have done this before successfully. The buildroot version I used was a snapshot from 12/30/2011. Anybody have a similar issue and/or have any tips? |
Hmm, I remember something similar with my distro. Are you sure the shell you use with that account is in /etc/shells? Can you login with "login" from root or is it just a console? There's also /etc/securetty in buildroot images IIRC, that can solve the problem with terminals.
|
Quote:
Running "login" as root in the chroot environment doesn't seem to do anything at all, it just exits without switching users or asking for a login, no output at all. |
All times are GMT -5. The time now is 11:05 PM. |