|
楼主 |
发表于 2005-8-6 23:09:08
|
显示全部楼层
Hi blackwolf,
after you chroot /mnt/lfs, when the installation of Shadow is completed, you must set a password for root. and make sure the password is saved in "/etc/shadow"(/mnt/lfs/etc/shadow). Sorry, I don't follow.
On building LFS 6.1 I ran "chroot" several times because taking several days to complete. I'm not allowed leaving the PC switched on unattended.
In going through my Notes, before 6.9. Linux-Libc-Headers-2.6.11.2 the PC was started with "chroot" run. Then continued through 6.54. Shadow-4.0. The next "chroot" was before 7.6. Configuring the Linux Console.
Checking /mnt/lfs/etc/shadow found entry having been made there as root password supposed but it did not work. Then I copied the password of lfs-user, the Host, from /etc/shadow to /mnt/lfs/etc/shadow making the same as root password of LFS 6.1. Then it worked.
B.R.
satimis |
|