LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Building Software as an Unprivileged (non-root) User?? BLFS (http://www.linuxquestions.org/questions/linux-from-scratch-13/building-software-as-an-unprivileged-non-root-user-blfs-871923/)

poisoning 03-30-2011 09:43 AM

Building Software as an Unprivileged (non-root) User?? BLFS
 
Hi I have a doubt BLFS building where it says:

Chapter 2. Important Information

The golden rule of Unix System Administration is to use your superpowers only when necessary. Hence, BLF recommends that you build software as an unprivileged user and only become the root user when installing the software. This philosophy is followed in all the packages in this book. Unless otherwise specified, all instruction should be executed as an unprivileged user. The book will advise you on instructions that need root privileges.

1.- All packages must be installed as root or do I create a user?

poisoning 03-30-2011 09:45 AM

Hi I have a doubt BLFS building where it says:

Chapter 2. Important Information
Quote:

Originally Posted by poisoning (Post 4308527)
The golden rule of Unix System Administration is to use your superpowers only when necessary. Hence, BLF recommends that you build software as an unprivileged user and only become the root user when installing the software. This philosophy is followed in all the packages in this book. Unless otherwise specified, all instruction should be executed as an unprivileged user. The book will advise you on instructions that need root privileges.

1.- All packages must be installed as root or do I create a user?

druuna 03-30-2011 10:02 AM

Hi,

You can use any normal user (user lfs from the LFS build for example) for patching, the configure, make, make check/test. The make install step must always be done as root user. When files need to be created, the book will mention if this needs to be done as root.

Hope this helps.


All times are GMT -5. The time now is 03:41 PM.