Changeset e3e2a37


Ignore:
Timestamp:
Mar 4, 2016, 12:55:55 AM (9 years ago)
Author:
Chris Staub <chris@…>
Branches:
master, systemd
Children:
86839d7
Parents:
8d55018
Message:

Create /var/log/faillog

Location:
BOOK
Files:
2 edited

Legend:

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

    r8d55018 re3e2a37  
    9999
    100100    <para os="v">The <command>login</command> program will write to
    101     <filename>/var/log/lastlog</filename>, if it exists, to record the date and
    102     time of the latest successful login for each user. This log file is not
    103     created automatically if it does not already exist, so we will
    104     create it now and give it appropriate ownership and permissions:</para>
    105 
    106 <screen os="w"><userinput>touch /var/log/lastlog
    107 chgrp -v utmp /var/log/lastlog
    108 chmod -v 664 /var/log/lastlog</userinput></screen>
     101    <filename>/var/log/faillog</filename>, to record failed login attempts, and
     102    <filename>/var/log/lastlog</filename>, to record the date and
     103    time of the latest successful login for each user. These log files are not
     104    created automatically if they do not already exist, so we will
     105    create them now and give them appropriate ownership and permissions:</para>
     106
     107<screen os="w"><userinput>touch /var/log/{fail,last}log
     108chgrp -v utmp /var/log/{fail,last}log
     109chmod -v 664 /var/log/{fail,last}log</userinput></screen>
    109110
    110111  </sect2>
  • BOOK/introduction/common/changelog.xml

    r8d55018 re3e2a37  
    3838
    3939    <listitem>
     40      <para>04 March 2016</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Chris] - Added creation of
     44          <filename>/var/log/faillog</filename> to Shadow instructions.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    4050      <para>19 February 2016</para>
    4151      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.