Problems while Login to LFS

Gerard Beekmans 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:

root:x:0:0:root:/root:/bin/bash

And check the /etc/shadow file too. It will look something like:

root:$1$oNt8kY9/$sHh9Yl6vT6X.q1rF9pfP7.:12656:0:99999:7:::

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).



-- 
Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */




More information about the lfs-support mailing list