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

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