outdated line in chapter 2

Tushar T tush at yahoo.com
Fri Oct 11 11:56:52 PDT 2002


Matthias Benkmann wrote:

>And the last paragraph 
>
>"One way to make sure that $LFS is set at all times is adding it to the
>/root/.bash_profile and /root/.bashrc files so that every time you login
>as user root, or you su to user root, the LFS variable is set."
>
>needs to be removed, too, because
>
>a) it's wrong (we don't build as root)
>
>b) the instructions for creating the lfs user already contain this
>
>  
>
The LFS variable is needed as root during the chroot chapter 
<http://www.linuxfromscratch.org/view/cvs/chapter06/chroot.html>. Maybe 
the command can be replaced by su - -c "chroot $LFS ..." to avoid 
setting the variable as root.

-- 
Tushar Teredesai
LFS ID: 1377
http://tushar.lfsforum.org/

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list