Changeset 1e08a9b


Ignore:
Timestamp:
Jul 9, 2014, 10:55:57 PM (8 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
a4fd97e
Parents:
87da537
Message:

No need to create /var/run/utmp

Location:
BOOK
Files:
3 edited

Legend:

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

    r87da537 r1e08a9b  
    1818  <indexterm zone="ch-boot-pwdgroup">
    1919    <primary sortas="e-/etc/group">/etc/group</primary>
    20     <secondary>boot</secondary>
    21   </indexterm>
    22 
    23   <indexterm zone="ch-boot-pwdgroup">
    24     <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
    2520    <secondary>boot</secondary>
    2621  </indexterm>
     
    194189  proper permissions:</para>
    195190
    196 <screen os="g"><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
    197 chgrp -v &gid-utmp; ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
    198 chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
     191<screen os="g"><userinput>touch ${CLFS}/var/log/{btmp,lastlog,wtmp}
     192chgrp -v &gid-utmp; ${CLFS}/var/log/lastlog
     193chmod -v 664 ${CLFS}/var/log/lastlog
    199194chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
    200195
    201   <para os="h">The <filename>/var/run/utmp</filename> file records the users
    202   that are currently logged in. The <filename>/var/log/wtmp</filename>
     196  <para os="h">The <filename>/var/log/wtmp</filename>
    203197  file records all logins and logouts. The
    204198  <filename>/var/log/lastlog</filename> file records when
  • BOOK/chroot/common/pwdgroup.xml

    r87da537 r1e08a9b  
    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>
    2520    <secondary>chroot</secondary>
    2621  </indexterm>
     
    10398  xpointer="xpointer(//*[@os='f'])"/>
    10499
    105 <screen os="g"><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
    106 chgrp -v utmp /var/run/utmp /var/log/lastlog
    107 chmod -v 664 /var/run/utmp /var/log/lastlog
     100<screen os="g"><userinput>touch /var/log/{btmp,lastlog,wtmp}
     101chgrp -v utmp /var/log/lastlog
     102chmod -v 664 /var/log/lastlog
    108103chmod -v 600 /var/log/btmp</userinput></screen>
    109104
  • BOOK/introduction/common/changelog.xml

    r87da537 r1e08a9b  
    3838
    3939    <listitem>
     40      <para>09 July 2014</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Chris] - Removed creation of /var/run/utmp - it's created
     44          on boot in the bootscripts.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    4050      <para>02 July 2014</para>
    4151      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.