can i use root user to build blfs

Richard A Downing richard at
Thu Dec 22 02:39:24 PST 2005

On Thu, 22 Dec 2005 01:58:04 -0800
Craig Jackson <craigmjackson at> wrote:

> Wow, I must've missed that one too.  I guess I will be unprivileged
> as much as I can from now on.  I never read the BLFS book straight
> through like I did with LFS.  Does this have to do with security or
> does it actually change the functionality?
> Epitome
> craigmjackson at
> On 12/21/05, Archaic <archaic at> wrote:
> >
> > On Wed, Dec 21, 2005 at 11:16:34PM -0800, Amu wrote:
> > >  iam using user=root for building whole blfs....
> > >  can i use root?
> >
> > What does the book say?

It affects security, but not functionality if you get you
permissions right - which is worth getting right from the
beginning.  But, Safety mainly - it's too easy to screw up your
precious new LFS system if you run as root. Look at the difference
between 'rm -rf ~*' and 'rm -rf *' - not a mistake to make when PWD=/ -
others are more subtle.  I don't think there are any instructions in
BLFS that would cause problems run as root, but then they have not been
checked for that ;-)

Finally Craig, Please read the netiquet section of the LFS FAQ.  You
are a dirty top-poster and a damned HTML mailer.


More information about the blfs-support mailing list