=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/login/login.1,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/login/login.1 1996/08/28 07:21:30 1.4 +++ src/usr.bin/login/login.1 1996/11/09 20:17:16 1.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: login.1,v 1.4 1996/08/28 07:21:30 deraadt Exp $ +.\" $OpenBSD: login.1,v 1.5 1996/11/09 20:17:16 millert Exp $ .\" $NetBSD: login.1,v 1.7 1995/08/31 22:52:33 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -102,10 +102,18 @@ changes the protection and ownership of certain devices specified in this file. .Pp +If the file +.Pa /var/log/failedlogin +exists, +.Nm login +will record failed login attempts in this file. +.Pp Immediately after logging a user in, .Nm login displays the system copyright notice, the date and time the user last -logged in, the message of the day as well as other information. +logged in, the date and time of the last unsucessful login (if the file +.Pa /var/log/failedlogin +exists), the message of the day as well as other information. If the file .Dq Pa .hushlogin exists in the user's home directory, all of these messages are suppressed. @@ -145,6 +153,8 @@ last login account records .It Pa /var/log/wtmp login account records +.It Pa /var/log/failedlogin +failed login account records .It Pa /var/mail/user system mailboxes .It Pa \&.hushlogin