root user instead of LFS - Please help

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


Bobby Pejman wrote:

>In script1.sh I have:
>su lfs -c ~/script2.sh
>su root -c ~/script3.sh
>
>  
>
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/script2.sh

change script1.sh to:
su - lfs
exec /path/to/script/script3.sh

It appears it will work.
---
David Jensen






More information about the lfs-support mailing list