LinuxQuestions.org
Review your favorite Linux distribution.
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 06-03-2012, 07:33 PM   #1
dwmolyneux
Member
 
Registered: Feb 2012
Location: United States of America
Distribution: "First Time Gentoo user",Debian, Fedora, LinuxMint
Posts: 113

Rep: Reputation: Disabled
Question LFS chroot enviroment user confusion....


Hi. I'm now on to 6.4. Entering the Chroot Environment of the LFS-BOOK-7.1.pdf and done a sudo into the chroot enviroment.

At the section for Creating Directories, do I need to keep using sudo in front of all commands?

To clarify, I am follow the book and not straying.

My host system is Debian Squeeze and I intentually set Not allowed to login as root, forcing the use of sudo.

I know I seen the answer while reading but when I went back to varify what I had read, I was unable to relocate the section or site that I saw it.

Can someone please help refresh my memory or inform me of changes that I may need to do?

Thank you all in advance.
 
Old 06-04-2012, 02:20 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Hi

Complete the remainder of the book in chroot, just run the commands as they are in the book without sudo, you wont be logged in as lfs any more now.
Quote:
Note that the bash prompt will say I have no name! This is normal because the /etc/passwd file has not been created yet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
man pages blanks in chroot enviroment Dig Linux - Software 1 12-20-2010 06:27 PM
How to setup a chroot enviroment for wu-ftpd rince Linux - Newbie 1 10-01-2009 11:48 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 01:31 AM
Now Bash isnt working within the chroot enviroment matthewa Linux From Scratch 2 06-02-2005 07:37 PM
I cant get into the chroot enviroment...help matthewa Linux From Scratch 2 06-02-2005 12:47 PM


All times are GMT -5. The time now is 01:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration