LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-30-2011, 09:43 AM   #1
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Rep: Reputation: 0
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?

Last edited by poisoning; 03-30-2011 at 09:45 AM.
 
Old 03-30-2011, 09:45 AM   #2
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Hi I have a doubt BLFS building where it says:

Chapter 2. Important Information
Quote:
Originally Posted by poisoning View Post
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?
 
Old 03-30-2011, 10:02 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unprivileged user uid gabsik Linux - Security 3 02-19-2009 08:25 AM
Best security: unprivileged user or root as owner of backup directory? danhs Linux - Security 4 08-18-2008 12:50 PM
CPAN root or unprivileged user rino.caldelli Linux - Software 1 01-11-2006 08:30 PM
blfs non-root user permissions frostillicus Linux From Scratch 2 04-16-2005 08:56 PM
building rpms as non-root user - temp probs frogman Linux - Software 2 11-23-2003 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration