cvs commit: LFS/BOOK/chapter04 addinguser.xml

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Sat Jun 19 13:48:05 PDT 2004


matthew     04/06/19 14:48:05

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter04 addinguser.xml
  Log:
  Add user lfs to group lfs (fixes bug #856)
  
  Revision  Changes    Path
  1.827     +5 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.826
  retrieving revision 1.827
  diff -u -r1.826 -r1.827
  --- changelog.xml	19 Jun 2004 20:11:58 -0000	1.826
  +++ changelog.xml	19 Jun 2004 20:48:04 -0000	1.827
  @@ -76,6 +76,11 @@
   </itemizedlist>
   </listitem>
   
  +<listitem><para>June 19, 2004 [matt]: chapter04 - addinguser.  Make the lfs user
  +a member of the lfs group, in case hosts add a new user to a non-existent gid by
  +default (which causes the glibc testsuite to fail). Fixes bug #856.</para>
  +</listitem>
  +
   <listitem><para>June 19, 2004 [matt]: chapter07 - console & chapter 08 -
   kernel.  Improved wording and re-introduced the option for compiling the keymap
   directly into the kernel.</para></listitem>
  
  
  
  1.3       +11 -3     LFS/BOOK/chapter04/addinguser.xml
  
  Index: addinguser.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter04/addinguser.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- addinguser.xml	29 May 2004 20:00:53 -0000	1.2
  +++ addinguser.xml	19 Jun 2004 20:48:04 -0000	1.3
  @@ -11,11 +11,13 @@
   can damage or even wreck your system. Therefore we recommend that you
   build the packages in this chapter as an unprivileged user. You could
   of course use your own user name, but to make it easier to set up a clean
  -work environment we'll create a new user <emphasis>lfs</emphasis> and
  +work environment we'll create a new user <emphasis>lfs</emphasis> as a
  +member of a new group (also named <emphasis>lfs</emphasis>) and
   use this one during the installation process. As <emphasis>root</emphasis>,
  -issue the following command to add the new user:</para>
  +issue the following commands to add the new user:</para>
   
  -<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs</userinput></screen>
  +<screen><userinput>groupadd lfs
  +useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
   
   <para>The meaning of the switches:</para>
   
  @@ -28,6 +30,12 @@
   </varlistentry>
   
   <varlistentry>
  +<term><parameter>-g lfs</parameter></term>
  +<listitem><para>This adds user <emphasis>lfs</emphasis> to group
  +<emphasis>lfs</emphasis></para></listitem>
  +</varlistentry>
  +
  +<varlistentry>
   <term><parameter>-m</parameter></term>
   <listitem><para>This creates a home
   directory for <emphasis>lfs</emphasis>.</para></listitem>
  
  
  



More information about the lfs-book mailing list