root user instead of LFS - Please help

Steve Crosby steve.crosby at gmail.com
Sat May 28 19:01:44 PDT 2005


On 29 May 2005, you wrote in lfs.support:

> Hi Steve,
> 
> This is perfect! That's exactly what I want to do.
> But, I'm having trouble running what you mentioned.
> 
> In script1.sh I have:
> su lfs -c ~/script2.sh
> su root -c ~/script3.sh
> 
> In script2.sh I have:
> mkdir script2
> exit
> 
> In script3.sh I have:
> mkdir script3
> exit
> 
> Is this what you mean for me to do? Thank you ALL for
> your help & suggestions.
> 
> Bobby

trouble in what sense? are the directories not created?
hint - put a "set -vx" at the top of each script, which will display the 
commands as they run.

- --
Steve Crosby



More information about the lfs-support mailing list