[Bug 590] sshd Access denied for valid user and password

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jun 9 17:53:58 EST 2003


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

           Summary: sshd Access denied for valid user and password
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build system
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: gpetrait at oil.lt


System is RedHat 6.2 Linux.
Compiled from openssh-3.5p1.tar.gz sources.

Access denied while trying to login using any valid username and password.

The reason for access denial is that crypt() function in auth-passwd.c file 
returns incorrect encrypted password. crypt() returns a 13 character length 
encrypted string instead of about 30 charaters length encrypted password placed 
in /etc/shadow file.

I solved this problem by editing Makefile file. Line
"LIBS=-lutil -lz -lnsl  -lcrypto -lcrypt"
changed to 
"LIBS=-lcrypt -lutil -lz -lnsl  -lcrypto"

Recompiled once again and sshd began to work.



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




More information about the openssh-bugs mailing list