Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 08-13-2012, 05:55 AM   #1
Registered: Aug 2012
Posts: 142

Rep: Reputation: Disabled
I encounter with an error in nALFS when running a xml file.

I follow steps in Building LFS-6.0 with nALFS 1.2.3
in step 7 , at "And do what it says press the m key to run the elements we marked above and presto you lfs-6.0 system will start building." point , I enter m key and chapter 5 is running that stoped with below error :

┌────────────────────────────────────────────────┤ LFS.xml ├───┤ nALFS 1.2.4 ├─┐
│ * ! - LFS.xml │
│ * ! + Chapter 5 - Constructing a Temporary System │
│-> + Chapter 6 - Installing Basic System Software │
│ + Chapter 7 - Setting Up System Bootscripts │
│ + Chapter 8 - Making the LFS System Bootable │
│ + Chapter 9 - The End │
│ + Finishing Up │
│ │
│ │
│ │
├──────────────────────────────────────────────────────┤ r s w h B ├─┤
│I: Executing system command in /: │
│I: id -u lfs &> /dev/null || useradd -s /bin/bash -g lfs -m -k /dev/null l│
│fs │
│-: id: lfs: No such user │
│I: Executing system command in /: │
│I: echo lfs:lf1nstl | chpasswd │
│-: chpasswd: (user lfs) pam_chauthtok() failed, error: │
│-: Authentication token manipulation error │
│-: chpasswd: (line 1, user lfs) password not changed │
│E: Execution failed (1). │
│I: Total time executing: 00:00:00 │
└────────────────────────────────────────────────────────────┤ T 00:00:01 [] ├─

what I done to fix this error ? is this error meaning that the user don't exist or chpass command don't running ?

this is the xml file :

<stage name="Adding the LFS User">
<execute command="groupadd -f lfs" />

<execute command="id -u &lfs-user; &amp;> /dev/null || useradd -s /bin/bash -g lfs -m -k /dev/null &lfs-user;" />

<execute command="echo &lfs-user;:&lfs-password; | chpasswd" />

<ownership user="&lfs-user;">

Old 08-13-2012, 03:56 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

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
I encounter with an error in nALFS when running a xml file. k84834 Linux From Scratch 0 08-13-2012 05:00 AM
how to add xml-stylesheet tag in a XML File using libxml2 ? peacemission Programming 6 05-26-2012 02:20 AM
Why do I encounter Flash plugin error so often? Mr. Alex Linux - Software 7 09-28-2010 07:22 AM
Error: Cannot open/read repomd.xml file for repository: updates noamhr Linux - Newbie 2 11-20-2009 02:43 PM
configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog Fadoksi Linux - Software 1 07-16-2006 06:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:55 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
Open Source Consulting | Domain Registration