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

Create /var/log/lastlog

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.