Changeset 195f497 for BOOK/final-system


Ignore:
Timestamp:
Jul 10, 2014, 3:17:06 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
59913e1
Parents:
f6ca8eb
Message:

Create /var/log/lastlog

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/shadow.xml

    rf6ca8eb r195f497  
    9999<screen os="v"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
    100100
     101    <para os="w">The <command>login</command> program will write to
     102    <filename>/var/log/lastlog</filename>, if it exists, to record the date and
     103    time of the latest successful login for each user. This log file is not
     104    created automatically if it does not already exist, so we will
     105    create it now and give it appropriate ownership and permissions:</para>
     106
     107<screen os="x"><userinput>touch /var/log/lastlog
     108chgrp -v utmp /var/log/lastlog
     109chmod -v 664 /var/log/lastlog</userinput></screen>
     110
    101111  </sect2>
    102112
  • BOOK/final-system/multilib/shadow.xml

    rf6ca8eb r195f497  
    9292    xpointer="xpointer(//*[@os='v'])"/>
    9393
     94    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     95    href="../common/shadow.xml"
     96    xpointer="xpointer(//*[@os='w'])"/>
     97
     98    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     99    href="../common/shadow.xml"
     100    xpointer="xpointer(//*[@os='x'])"/>
     101
    94102  </sect2>
    95103
Note: See TracChangeset for help on using the changeset viewer.