[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: OpenSSH 3, DEBIAN 2.2 and PAM authentication



This sounds like something I had to help a friend out with this
recently. Took me ~15sec to tell him his problem. Configure openssh3
like so:

./configure --with-pam

If it whines about the pam headers, pop into dselect and grab 'em, then
try it again, compile, install, restart ssh, give a go-round.

If it's not this, let us know what fixes it.



Steven Beverly

"exitus acta probat"
"fide, sed cui vide"


-----Original Message-----
From: Jose Celestino [mailto:japc@co.sapo.pt] 
Sent: Monday, November 12, 2001 4:05 AM
To: Benoît MARTINET
Cc: debian security list
Subject: Re: OpenSSH 3, DEBIAN 2.2 and PAM authentication


Have you configured it with:

--with-md5-passwords

?

Thus spake Benoît MARTINET, on Mon, Nov 12, 2001 at 12:00:12PM +0100:
> (Sorry, I've already post this message, but without subject...)
> 
> Hi,
> 
>     I've just compiled & installed openssh-3.0p1 on my Debian 2.2 but 
> failed to login using root and users' passwords. Password 
> authentication failed all the time and it prompted "Permission Denied"

> on the command line.
> 
>     A message, "Failed password for [user] from ......" was logged in 
> auth.log. but i'm sure the password is correct. i wonder if the 
> configuration for PAM is incorrect. Below is the content of 
> /etc/pam.d/ssh:
> 
> #%PAM-1.0
> auth       required     /lib/security/pam_unix.so shadow nodelay
> auth       required     /lib/security/pam_nologin.so
> account    required     /lib/security/pam_unix.so
> password   required     /lib/security/pam_cracklib.so
> password   required     /lib/security/pam_unix.so shadow nullok
> use_authtok
> session    required     /lib/security/pam_unix.so
> session    required     /lib/security/pam_limits.so
> 
> all the paths and PAM modules are installed. Do anyone has any idea 
> about all these?
> 
> At this time, I can connect using a DSA Key, but I would also like to 
> connect using password...
> 
> Please CC me in private, cause I don't subscribe to this list... 
> Thanks in advance.
> 
> ---------------------------------------------
>     Benoît MARTINET - bm@overscan.fr
> ---------------------------------------------
> 
> 
> 
> --
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
> 

-- 
Jose Celestino <japc@co.sapo.pt>
Systems Administration
SAPO.pt http://www.sapo.pt


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: