root user instead of LFS - Please help
bpejman at sbcglobal.net
Sat May 28 09:31:55 PDT 2005
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:
In script3.sh I have:
Is this what you mean for me to do? Thank you ALL for
your help & suggestions.
--- Steve Crosby <steve.crosby at gmail.com> wrote:
> On 28 May 2005, you wrote in lfs.support:
> > Hello All,
> > In section 4.3 (Add the LFS user) of the book, I
> > want to add a user LFS. I'm automating my
> > using a simple bash script and when it does this:
> > su - lfs
> > My automation stops. :( I like to be able to
> > my installation in root. I am not interested in
> > ALFS either. This is a school project.
> Split your install into three scripts.
> As root, run script one
> script one runs su lfs -c <script two>
> script one then runs script three, by replacing
> the chroot from
> /tools/bin/bash to <script three>
> the commands aren't exact, since I'm not near my
> build system at the
> moment, but the general principle is the same.
> - --
> Steve Crosby
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
More information about the lfs-support