[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2918: login: off-by-one error?



Package: login
Version: 1.0-2

login appears to be reporting one more than the actual number of failed
logins on a terminal (this is using a terminal which hasn't been used
since reboot):

| Debian Linux 1.1
| Copyright (C) 1993-1996 Debian Association, Inc. and others
| zenda login: nonexistent
| Password:
| Login incorrect
|
| zenda login: root
| Password:
| Last login: Sun May  5 22:31:30 on tty1
| Linux zenda 1.3.77 #11 Sun May 5 21:49:21 BST 1996 i486
| Copyright (C) 1993, 1994, 1995 Debian Association, Inc. and others
|
| root@zenda:~# tail -2 /var/log/auth.log
| May  6 14:06:22 zenda login: 2 LOGIN FAILURES ON tty4, nonexistent
| May  6 14:06:26 zenda login: ROOT LOGIN ON tty4
| root@zenda:~#

Dave
--
Dave Holland   <93djh2@eng.cam.ac.uk>   http://zenda.chu.cam.ac.uk/


Reply to: