Ignore:
Timestamp:
Jan 8, 2014, 11:28:36 AM (9 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
124fbb6d
Parents:
0ddb5ca
Message:

Commands to create log files are no longer needed

File:
1 edited

Legend:

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

    r0ddb5ca r2be952c  
    102102  for the duration of the next chapters.</para>
    103103
    104   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    105   href="../../boot/common/pwdgroup.xml"
    106   xpointer="xpointer(//*[@os='f'])"/>
    107 
    108 <screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
    109 chgrp -v utmp /var/run/utmp /var/log/lastlog
    110 chmod -v 664 /var/run/utmp /var/log/lastlog
    111 chmod -v 600 /var/log/btmp</userinput></screen>
    112 
    113   <para>The <filename>/var/run/utmp</filename> file records the users that
    114   are currently logged in. The <filename>/var/log/wtmp</filename> file records
    115   all logins and logouts. The <filename>/var/log/lastlog</filename> file
    116   records when each user last logged in. The <filename>/var/log/btmp</filename>
    117   file records the bad login attempts.</para>
    118 
    119104</sect1>
Note: See TracChangeset for help on using the changeset viewer.