Mailing List Archive

config problem with 1.2.2 on Redhat 6.1 / pam
Hi there!

I have a small - but essential :) - problem with the above configuration. I
compiled the 1.2.2 version straight forward, with almost default settings
(sysconfdir=/etc/ssh)

After that I copied the sshd.pam to /etc/pam.d, generated the host-key and
started sshd

Feb 10 15:29:36 FW-W1A sshd[18351]: Server listening on 0.0.0.0 port 22.
Feb 10 15:29:36 FW-W1A sshd[18351]: Generating 768 bit RSA key.
Feb 10 15:29:37 FW-W1A sshd[18351]: RSA key generation complete.

then I tried to login:

ssh localhost -l jevv

and got

jevv@localhost's password: <- typed wrong password
Permission denied, please try again.
jevv@localhost's password: <- typed the correct pwd
Connection to localhost closed by remote host.
Connection to localhost closed.

/var/log/messages:

Feb 10 15:29:53 FW-W1A sshd[18353]: Accepted password for jevv from 127.0.0.1
port 1018
Feb 10 15:29:53 FW-W1A sshd[18353]: fatal: PAM session setup failed: System
error
Feb 10 15:29:53 FW-W1A sshd[18353]: Cannot close PAM session: System error

So, I suppose this is _not_ an ssh problem, it is a PAM problem - but what to
do? Am I overseeing something?
Thx 4 any ideas in advance

best
javor