Originally posted by cphase
Below are the commands I issued that set the env:
cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
t > ~/.bashrc << "EOF"
export LFS LC_ALL PATH
i know this is a little old but this is your problem change you .bashrc file to read
when you set path it resets the env var
and you should use another user than your main so you dont mess with the main user