Brian wrote:
> Please could someone spell out the reason for building software as an  
> unprivileged user? This is recommended in the BLFS book and elsewhere  
> (though not in LFS), but I can't find a full explanation.
<snip/>
> (The reason I'm asking, in case you're interested, is that I'm automating  
> the build using a simple bash script for each package, and it would be  
> simpler to run everything as root rather than having to add 'sudo' to my  
> system, which is the only other way I can see of doing it.)
> 
> Thanks,
> 
> Brian
> 

Take a look at JHALFS - it is a bash script which reads "the book" (LFS, 
BLFS, CLFS and HLFS) it extracts all the commands and builds makefiles 
to automate the entire process. It requires sudo and, I think, jumps 
back and forth between root and unprivileged user as needed by the commands.

We have all probably used root more than we probably should until we do 
the "rm -r *" thing - then we learn ;-)

Al

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to