System faillog not capturing ssh users
Issue
-
If a user puts in a bad password at the console, it is not captured correctly.
-
To see this run the following:
[root@~]$ faillog -u test
Login Failures Maximum Latest
test 2 5 Tue Mar 1 11:13:41 -0600 2011 rbctsm01.sy
- But if a user tries to ssh into the box and puts in a bad password, it does not log correctly:
[root@~]$ faillog -u sshtest
Login Failures Maximum Latest
sshtest 0 5 Wed Dec 31 18:00:00 -0600 1969
Environment
- Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
shadow-utils-4.0.3-66.el4_8.3-x86_64openssh-3.9p1-11.el4_8.1-x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
