root user instead of LFS - Please help

David Jensen djensen at
Sun May 29 06:42:44 PDT 2005

Bobby Pejman wrote:

>In I have:
>su lfs -c ~/
>su root -c ~/
one way to do this is
to cat the chapter 4.4 .bash_profile and .bashrc's to /home/lfs as root
then chown and chmod them to lfs.lfs and 644

add to end of /home/lfs/.bashrc:
exec /path/to/script/

change to:
su - lfs
exec /path/to/script/

It appears it will work.
David Jensen

More information about the lfs-support mailing list