On Sun, 11 Sep 2005 21:04:09 -0400, Jeremy Huntwork <[EMAIL PROTECTED]> wrote:
>I still have the issue of 'su - lfs' ... to sort out I could only think of one way. Instead of this: >cat > ~/.bash_profile << "EOF" >exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash >EOF Do something like this: >cat > $LFS_USER_HOME_DIR/.bash_profile << "EOF" >exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' BASH_ENV='.bashrc' /bin/bash >./start_me_up >EOF That will cause you to read the .bashrc startup file, plus kick off your own script ./start_me_up, when your main script does: su - $LFS_USER If there is a better way you can think of, I would be curious to know. -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
