Hi -
Newbie answering:
I just installed open ssh 2.3 on red hat, and I did end up with a sshd.pam.generic in
/usr/ports/ssh/openssh-2.3.0p1/contrib. You did install the portable ssh version,
right? (openssh-2.3.0p1.tar.gz)
My install is up and seems to be working.
Tom
Here the file:
#%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
At 10:32 PM 11/26/2000 -0500, you wrote:
I just installed openssh (2.2) on two machines (server running RH 6.1,
client RH6.0). However, when I try
to login I get the following in /var/log/messages.
Nov 26 21:44:38 barcelona sshd[5330]: Generating new 768 bit RSA key.
Nov 26 21:44:38 barcelona sshd[5330]: RSA key generation complete.
Nov 26 21:45:56 barcelona sshd[15671]: Accepted rsa for berman from
172.16.197.2 port 1922
Nov 26 21:45:56 barcelona sshd[15671]: PAM rejected by account
configuration: User account has expired
Nov 26 21:45:56 barcelona sshd[15671]: Faking authloop for illegal user
berman from 172.16.197.2 port 1922
Nov 26 21:46:07 barcelona sshd[15671]: Connection closed by 172.16.197.2
It looks to me like I have a PAM problem. I've seen the remark in the
INSTALL file concerning
the need to add something to /etc/pam.d; however, the sample file
("contrib/sshd.pam.generic") mentioned doesn't seem to be in the 2.2 (or
2.3) tar.
I'm sure there's a simple fix, but I have no idea what it is. Can
anyone help?
Thanks.
--Len