Problems while Login to LFS
gerard at linuxfromscratch.org
Mon Feb 21 14:07:16 PST 2005
On February 21, 2005 02:56 pm, Phoe6 wrote:
> How should I be dealing with this?
Boot back into Fedora Core 3, mount LFS an chroot into it.
From within chroot, run: ldd /bin/login
Make sure all the libraries exist.
When you installed the Shadow package in Chapter 6, did you go through the
configuration section? Did you enable shadow'ed passwords? Did you run
"passwd root" to create a password for root?
While you're in chroot, make sure /etc/passwd contains this line:
And check the /etc/shadow file too. It will look something like:
Of course the encrypted password and the numbers will be different for you.
Just make sure something is there and it looks good (the same amount of colon
(:) characters and such).
/* If Linux doesn't have the solution, you have the wrong problem */
More information about the lfs-support