Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Bugs

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

 

 

OpenSSH bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at mindrot

Jun 8, 2003, 11:53 PM

Post #1 of 2 (79 views)
Permalink
[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
ReportedBy: gpetrait [at] oil


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

Jun 9, 2003, 12:00 AM

Post #2 of 2 (75 views)
Permalink
[Bug 590] sshd Access denied for valid user and password [In reply to]

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

djm [at] mindrot changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX



------- Additional Comments From djm [at] mindrot 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.

OpenSSH bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.