#!/bin/bash source ../functions/main # In order for root to be able to login and for the name "root" to be # recognized, there need to be relevant entries in the /etc/passwd file. cat > ${LFS}/etc/passwd << "EOF" root::0:0:root:/root:/bin/bash bin:x:1:1:bin:/dev/null:/bin/false nobody:x:99:99:Unprivileged user:/dev/null:/bin/false EOF exit $?