[Bug 432] New: AIX does not log login attempts for unknown users

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Nov 8 11:48:52 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=432

           Summary: AIX does not log login attempts for unknown users
           Product: Portable OpenSSH
           Version: -current
          Platform: PPC
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: dtucker at zip.com.au


A login attempt by an unknown user (eg via telnet) normally gets logged as:

syslog: pts/4: failed login attempt for UNKNOWN_USER from my.host.com

This is generated by a call to loginfailed(), which substitutes UNKNOWN_HOST for 
the username if it doesn't exist.

AIX never finds out about it because getpwnamallow returns as soon as it finds 
no passwd entry. Following patch calls loginfailed before returning. It 
generates:

syslog: ssh: failed login attempt for UNKNOWN_USER from my.host.com



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list