Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 06-03-2012, 06:33 PM   #1
Registered: Feb 2012
Location: United States of America
Distribution: "First Time Gentoo user",Debian, Fedora, LinuxMint
Posts: 121

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, 01:20 AM   #2
Senior Member
Registered: Jan 2011
Distribution: /LFS/Centos6.3/Debian
Posts: 2,196
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327

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.
Note that the bash prompt will say I have no name! This is normal because the /etc/passwd file has not been created yet.


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

All times are GMT -5. The time now is 12:06 AM.

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