Author: jim
Date: 2006-06-28 09:52:46 -0600 (Wed, 28 Jun 2006)
New Revision: 1851

Modified:
   /
   trunk/BOOK/boot/common/pwdgroup.xml
   trunk/BOOK/chroot/common/pwdgroup.xml
Log:
 [EMAIL PROTECTED] (orig r1929):  [EMAIL PROTECTED] | 2006-06-28 07:08:43 -0700
 Modified the creation the /etc/passwd and /etc/group, and added some temp. 
placeholder text for additional users and groups



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:1928
   + b6734a72-470d-0410-b049-f317dca95413:/:1929

Modified: trunk/BOOK/boot/common/pwdgroup.xml
===================================================================
--- trunk/BOOK/boot/common/pwdgroup.xml 2006-06-28 07:53:56 UTC (rev 1850)
+++ trunk/BOOK/boot/common/pwdgroup.xml 2006-06-28 15:52:46 UTC (rev 1851)
@@ -43,20 +43,22 @@
   the following command:</para>
 
 <screen><userinput>cat &gt; ${LFS}/etc/passwd &lt;&lt; "EOF"
-<literal>root::0:0:root:/root:/bin/bash
+<literal>root:x:0:0:root:/root:/bin/bash</literal>
+EOF</userinput></screen>
+
+<para os="a">TO BE WRITTEN: more text describing additional users
 bin:x:1:1:bin:/bin:/bin/false
-daemon:x:2:2:daemon:/sbin:/bin/false
-adm:x:3:4:adm:/var/adm:/bin/false
-lp:x:10:18:lp:/var/spool/lp:/bin/false
+daemon:x:2:6:daemon:/sbin:/bin/false
+adm:x:3:16:adm:/var/adm:/bin/false
+lp:x:10:9:lp:/var/spool/lp:/bin/false
 mail:x:30:30:mail:/var/spool/mail:/bin/false
 news:x:31:31:news:/var/spool/news:/bin/false
 uucp:x:32:32:uucp:/var/spool/uucp:/bin/false
 operator:x:50:0:operator:/root:/bin/bash
 postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false
-nobody:x:65534:65534:nobody:/:/bin/false</literal>
-EOF</userinput></screen>
+nobody:x:65534:65534:nobody:/:/bin/false</para>
 
-  <para os="a">The actual password for <systemitem 
class="username">root</systemitem>
+  <para os="b">The actual password for <systemitem 
class="username">root</systemitem>
   (the <quote>x</quote> used here is just a placeholder) will be set
   later.</para>
 
@@ -64,34 +66,36 @@
   the following command:</para>
 
 <screen><userinput>cat &gt; ${LFS}/etc/group &lt;&lt; "EOF"
-<literal>root::0:root
-bin::1:root,bin,daemon
-daemon::2:root,bin,daemon
-sys::3:root,bin,adm
-adm::4:root,adm,daemon
-kmem::5:
-utmp::6:
-tty::10:
-video::11:root
-console::12:
-disk::13:root,adm
-floppy::14:root
-cdrom::15:
-cdrw::16:
-tape::17:root
-lp::18:lp
-usb::19:
-audio::20:
-dialout::21:root
+<literal>root:x:0:
+bin:x:1:
+sys:x:2:
+kmem:x:3:
+tty:x:4:
+tape:x:5:
+daemon:x:6:
+floppy:x:7:
+disk:x:8:
+lp:x:9:
+dialout:x:10:
+audio:x:11:
+video:x:12:
+utmp:x:13:
+usb:x:14:
+cdrom:x:15:</literal>
+EOF</userinput></screen>
+
+<para os="c">TO BE WRITTEN: more text describing additional groups
+adm::16:root,adm,daemon
+console::17:
+cdrw::18:
 mail::30:mail
 news::31:news
 uucp::32:uucp
 users::100:
 nogroup::65533:
-nobody::65534:</literal>
-EOF</userinput></screen>
+nobody::65534:</para>
 
-  <para os="b">The created groups are not part of any standard&mdash;they are
+  <para os="d">The created groups are not part of any standard&mdash;they are
   groups decided on in part by the requirements of the Udev configuration
   in the final system, and in part by common convention employed by a
   number of existing Linux distributions. The Linux Standard Base (LSB,
@@ -102,7 +106,7 @@
   well-written programs do not depend on GID numbers, but rather use the
   group's name.</para>
 
-  <para os="c">The <command>login</command>, <command>agetty</command>, and
+  <para os="e">The <command>login</command>, <command>agetty</command>, and
   <command>init</command> programs (and others) use a number of log
   files to record information such as who was logged into the system and
   when. However, these programs will not write to the log files if they

Modified: trunk/BOOK/chroot/common/pwdgroup.xml
===================================================================
--- trunk/BOOK/chroot/common/pwdgroup.xml       2006-06-28 07:53:56 UTC (rev 
1850)
+++ trunk/BOOK/chroot/common/pwdgroup.xml       2006-06-28 15:52:46 UTC (rev 
1851)
@@ -43,58 +43,51 @@
   following command:</para>
 
 <screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
-<literal>root::0:0:root:/root:/bin/bash
-bin:x:1:1:bin:/bin:/bin/false
-daemon:x:2:2:daemon:/sbin:/bin/false
-adm:x:3:4:adm:/var/adm:/bin/false
-lp:x:10:18:lp:/var/spool/lp:/bin/false
-mail:x:30:30:mail:/var/spool/mail:/bin/false
-news:x:31:31:news:/var/spool/news:/bin/false
-uucp:x:32:32:uucp:/var/spool/uucp:/bin/false
-operator:x:50:0:operator:/root:/bin/bash
-postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false
-nobody:x:65534:65534:nobody:/:/bin/false</literal>
+<literal>root:x:0:0:root:/root:/bin/bash</literal>
 EOF</userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
   href="../../boot/common/pwdgroup.xml"
   xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
 
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+  href="../../boot/common/pwdgroup.xml"
+  xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
+
   <para>Create the <filename>/etc/group</filename> file by running the
   following command:</para>
 
 <screen><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
-<literal>root::0:root
-bin::1:root,bin,daemon
-daemon::2:root,bin,daemon
-sys::3:root,bin,adm
-adm::4:root,adm,daemon
-kmem::5:
-utmp::6:
-tty::10:
-video::11:root
-console::12:
-disk::13:root,adm
-floppy::14:root
-cdrom::15:
-cdrw::16:
-tape::17:root
-lp::18:lp
-usb::19:
-audio::20:
-dialout::21:root
-mail::30:mail
-news::31:news
-uucp::32:uucp
-users::100:
-nogroup::65533:
-nobody::65534:</literal>
+<literal>root:x:0:
+bin:x:1:
+sys:x:2:
+kmem:x:3:
+tty:x:4:
+tape:x:5:
+daemon:x:6:
+floppy:x:7:
+disk:x:8:
+lp:x:9:
+dialout:x:10:
+audio:x:11:
+video:x:12:
+utmp:x:13:
+usb:x:14:
+cdrom:x:15:</literal>
 EOF</userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
   href="../../boot/common/pwdgroup.xml"
-  xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
+  xpointer="xpointer(//[EMAIL PROTECTED]'c'])"/>
 
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+  href="../../boot/common/pwdgroup.xml"
+  xpointer="xpointer(//[EMAIL PROTECTED]'d'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+  href="../../boot/common/pwdgroup.xml"
+  xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
+
   <para>To remove the <quote>I have no name!</quote> prompt, start a
   new shell. Since a full Glibc was installed in <xref
   linkend="chapter-cross-tools"/> and the <filename>/etc/passwd</filename>

-- 
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to