> If you log in as lfs, the PATH is set in .bashrc, that is, after bash > has been launched. So, unless you have set PATH in the init scripts of > the host to something beginning with /tools/bin, the bash running for > lfs is the host bash (in /bin/bash). Of course, /tools/bin/bash will > be run if you type "bash" as user lfs. But the book never instructs to > do that.
Thank you. The initial shell of any user including the lfs user is determined by the last field in /etc/passwd. This shell should be effective throughout Chapter 5. I used sed to extract commands from the html file for the "Stripping" section and put the results in a file and executed it as a shell script. Obviously a new instance of /tools/bin/bash is launched to accomplish this. I did this because I wanted an accurate record of commands executed during the build process. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
