LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 06-11-2010, 08:01 PM   #1
nkedz
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
lfs is not in sudoers file error in LFS 6.6


Hello all,

I started to work on my LFS system a few days ago and was impressed with everything going smoothly. However, I think I might have done something wrong. I thought I had followed the instructions in the book to the letter, but maybe someone can point me in the right direction?

I'm using Ubuntu 10.04 as a host system, LFS version 6.6, and am only somewhat new to Linux. If I can put anything else here that would help my question be answered, please let me know.

My problem is this: I have gotten all the way to section 5.4, and it's time to build Binutils-2.20. I am executing these commands as lfs, as specified. The first command is
Code:
mkdir -v ../binutils-build
and when I try it, it says permission denied. I try
Code:
sudo mkdir -v ../binutils-build
and enter my password when prompted, but then I get the error message "lfs is not in the sudoers file. This incident will be reported."

Where could I have gone wrong? I'm very sure I followed the instructions in the book to the letter. If additional details are needed, please let me know, and thanks in advance for any help, it is much appreciated!
 
Old 06-12-2010, 03:03 AM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
Hi,

check the permissions and owner of
Code:
$LFS/sources
$LFS/tools
They should both belong to lfs and should also have rwx permission. If necessary change permissions as needed.

Hope this helps.
 
  


Reply

Tags
build, error, file, lfs, mkdir, sudo, sudoers


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 6.4 (Stable LFS) - error: "No such file or directory", linuxiso Linux - Newbie 1 08-03-2009 10:55 PM
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 08:13 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM


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

Main Menu
 
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
Open Source Consulting | Domain Registration