bugzilla-daemon at mindrot.org
2003-Jun-09 07:53 UTC
[Bug 590] sshd Access denied for valid user and password
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.
bugzilla-daemon at mindrot.org
2003-Jun-09 08:00 UTC
[Bug 590] sshd Access denied for valid user and password
http://bugzilla.mindrot.org/show_bug.cgi?id=590 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From djm at mindrot.org 2003-06-09 18:00 ------- You should use --with-md5-passwords for older Redhat. Redhat 8.x and 9.x (maybe 7.x too) get this right without additional tricks. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.