aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r--chapter06/createfiles.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
index 152dd31b4..842336ab2 100644
--- a/chapter06/createfiles.xml
+++ b/chapter06/createfiles.xml
@@ -221,15 +221,16 @@ EOF</userinput></screen>
do not already exist. Initialize the log files and give them
proper permissions:</para>
-<screen><userinput>touch /var/log/{btmp,lastlog,wtmp}
+<screen><userinput>touch /var/log/{btmp,lastlog,faillog,wtmp}
chgrp -v utmp /var/log/lastlog
chmod -v 664 /var/log/lastlog
chmod -v 600 /var/log/btmp</userinput></screen>
<para>The <filename>/var/log/wtmp</filename> file records all logins and
logouts. The <filename>/var/log/lastlog</filename> file records when each
- user last logged in. The <filename>/var/log/btmp</filename> file records the
- bad login attempts.</para>
+ user last logged in. The <filename>/var/log/faillog</filename> file records
+ failed login attempts. The <filename>/var/log/btmp</filename> file records
+ the bad login attempts.</para>
<note><para>The <filename>/run/utmp</filename> file records the users that
are currently logged in. This file is created dynamically in the boot