Changeset 195f497


Ignore:
Timestamp:
Jul 10, 2014, 3:17:06 AM (6 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
Files:
3 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
  • BOOK/introduction/common/changelog.xml

    rf6ca8eb r195f497  
    3838
    3939    <listitem>
     40      <para>10 July 2014</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Chris] - Add back instruction to create /var/log/lastlog,
     44          so that it can actually be used.</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.