Creating passwd & group files

As you can see from the inittab file, when we boot the system, init will start the sulogin program and sulogin will ask you for user root's password. This means we need to have at least a passwd file present on the LFS system.


root:s394ul1Bkvmq2:0:0:root:/root:/bin/bash


root::0:

The encoded password above is: lfs123

When you logon to your LFS system, enter lfs123 when asked to enter user root's password.