Changeset 2b15ca5 for BOOK/chroot/common


Ignore:
Timestamp:
May 24, 2014, 9:35:30 PM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
1cfa56e
Parents:
af2b8f8
Message:

Added log file creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/chroot/common/pwdgroup.xml

    raf2b8f8 r2b15ca5  
    99  <?dbhtml filename="pwdgroup.html"?>
    1010
    11   <title>Creating the passwd and group Files</title>
     11  <title>Creating the passwd, group, and log Files</title>
    1212
    1313  <indexterm zone="ch-chroot-pwdgroup">
     
    1818  <indexterm zone="ch-chroot-pwdgroup">
    1919    <primary sortas="e-/etc/group">/etc/group</primary>
     20    <secondary>chroot</secondary>
     21  </indexterm>
     22
     23  <indexterm zone="ch-boot-pwdgroup">
     24    <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
     25    <secondary>chroot</secondary>
     26  </indexterm>
     27
     28  <indexterm zone="ch-boot-pwdgroup">
     29    <primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
     30    <secondary>chroot</secondary>
     31  </indexterm>
     32
     33  <indexterm zone="ch-boot-pwdgroup">
     34    <primary sortas="e-/var/log/lastlog">/var/log/lastlog</primary>
     35    <secondary>chroot</secondary>
     36  </indexterm>
     37
     38  <indexterm zone="ch-boot-pwdgroup">
     39    <primary sortas="e-/var/log/wtmp">/var/log/wtmp</primary>
    2040    <secondary>chroot</secondary>
    2141  </indexterm>
     
    7999  xpointer="xpointer(//*[@os='e'])"/>
    80100
     101  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     102  href="../../boot/common/pwdgroup.xml"
     103  xpointer="xpointer(//*[@os='f'])"/>
     104
     105<screen os="g"><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
     106chgrp -v utmp /var/run/utmp /var/log/lastlog
     107chmod -v 664 /var/run/utmp /var/log/lastlog
     108chmod -v 600 /var/log/btmp</userinput></screen>
     109
     110  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     111  href="../../boot/common/pwdgroup.xml"
     112  xpointer="xpointer(//*[@os='h'])"/>
     113
    81114  <para>To remove the <quote>I have no name!</quote> prompt, start a
    82115  new shell. Since a full Glibc was installed in <xref
Note: See TracChangeset for help on using the changeset viewer.