Index: BOOK/boot/common/pwdgroup.xml
===================================================================
--- BOOK/boot/common/pwdgroup.xml	(revision af2b8f8a1e13e01e4be84483c3874c21825bd366)
+++ BOOK/boot/common/pwdgroup.xml	(revision 2b15ca5c4c786a60784538e668d9849272e92418)
@@ -9,5 +9,5 @@
   <?dbhtml filename="pwdgroup.html"?>
 
-  <title>Creating the passwd and group Files</title>
+  <title>Creating the passwd, group, and log Files</title>
 
   <indexterm zone="ch-boot-pwdgroup">
@@ -18,4 +18,24 @@
   <indexterm zone="ch-boot-pwdgroup">
     <primary sortas="e-/etc/group">/etc/group</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/log/lastlog">/var/log/lastlog</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/log/wtmp">/var/log/wtmp</primary>
     <secondary>boot</secondary>
   </indexterm>
@@ -167,3 +187,22 @@
   group's name.</para>
 
+  <para os="f">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
+  do not already exist. Initialize the log files and give them
+  proper permissions:</para>
+
+<screen os="g"><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
+chgrp -v &gid-utmp; ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
+chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
+chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
+
+  <para os="h">The <filename>/var/run/utmp</filename> file records the users
+  that are currently logged in. The <filename>/var/log/wtmp</filename>
+  file records all logins and logouts. The
+  <filename>/var/log/lastlog</filename> file records when
+  each user last logged in. The <filename>/var/log/btmp</filename> file
+  records the bad login attempts.</para>
+
 </sect1>
Index: BOOK/chroot/common/pwdgroup.xml
===================================================================
--- BOOK/chroot/common/pwdgroup.xml	(revision af2b8f8a1e13e01e4be84483c3874c21825bd366)
+++ BOOK/chroot/common/pwdgroup.xml	(revision 2b15ca5c4c786a60784538e668d9849272e92418)
@@ -9,5 +9,5 @@
   <?dbhtml filename="pwdgroup.html"?>
 
-  <title>Creating the passwd and group Files</title>
+  <title>Creating the passwd, group, and log Files</title>
 
   <indexterm zone="ch-chroot-pwdgroup">
@@ -18,4 +18,24 @@
   <indexterm zone="ch-chroot-pwdgroup">
     <primary sortas="e-/etc/group">/etc/group</primary>
+    <secondary>chroot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
+    <secondary>chroot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
+    <secondary>chroot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/log/lastlog">/var/log/lastlog</primary>
+    <secondary>chroot</secondary>
+  </indexterm>
+
+  <indexterm zone="ch-boot-pwdgroup">
+    <primary sortas="e-/var/log/wtmp">/var/log/wtmp</primary>
     <secondary>chroot</secondary>
   </indexterm>
@@ -79,4 +99,17 @@
   xpointer="xpointer(//*[@os='e'])"/>
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../../boot/common/pwdgroup.xml"
+  xpointer="xpointer(//*[@os='f'])"/>
+
+<screen os="g"><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
+chgrp -v utmp /var/run/utmp /var/log/lastlog
+chmod -v 664 /var/run/utmp /var/log/lastlog
+chmod -v 600 /var/log/btmp</userinput></screen>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../../boot/common/pwdgroup.xml"
+  xpointer="xpointer(//*[@os='h'])"/>
+
   <para>To remove the <quote>I have no name!</quote> prompt, start a
   new shell. Since a full Glibc was installed in <xref
Index: BOOK/introduction/common/changelog.xml
===================================================================
--- BOOK/introduction/common/changelog.xml	(revision af2b8f8a1e13e01e4be84483c3874c21825bd366)
+++ BOOK/introduction/common/changelog.xml	(revision 2b15ca5c4c786a60784538e668d9849272e92418)
@@ -49,4 +49,7 @@
           actually used.</para>
         </listitem>
+        <listitem>
+          <para>[Chris] - Added creation of log files with passwd and group.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
