useradd -s /bin/bash -m lfs && passwd lfs |
Now we need to give proper permissions to the $LFS/static directory so user "lfs" can write to it:
chown -R lfs $LFS/static |
cat > ~/.bash_profile << "EOF" umask 022 LFS=/mnt/lfs LC_ALL=POSIX CC='gcc -s' export LFS LC_ALL CC EOF source ~/.bash_profile |