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.
Create the $LFS/etc/passwd file containing the following:
root:s394ul1Bkvmq2:0:0:root:/root:/bin/bash
Create the $LFS/etc/group file containing the following:
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.