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
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to