Mine is close to the same. I added the:
account required pam_nologin.so
because it wasn't there. It didn't seem to help. The only other error
message I get is in auth.log wich says:
Aug 21 14:24:11 server sshd[28655]: PAM unable to resolve symbol:
pam_sm_acct_mgmt
Aug 21 14:24:11 server sshd[28655]: Could not reverse map address
10.10.10.10
Aug 21 14:24:15 server sshd[28655]: PAM rejected by account
configuration[28]: Module is unknown
Aug 21 14:24:15 server sshd[28655]: Failed password for user from
10.10.10.10 port 57378 ssh2
Aug 21 14:24:15 server sshd[28655]: fatal: monitor_read: unsupported
request: 24
if I do passwd user and change his password it then works???? I don't
get it...
Thanks for the help though
On Thu, 2003-08-21 at 13:50, J.L.Francois wrote:
> > What is in your /etc/pam.d/sshd?
>
> I have:
> =====
> #%PAM-1.0
> auth required pam_unix.so
> auth required pam_nologin.so
> auth required pam_env.so
> account required pam_unix.so
> account required pam_nologin.so
> password required pam_pwcheck.so nullok md5 remember=5
> password sufficient /lib/security/pam_unix.so nullok use_authtok shadow
> password required pam_unix.so nullok use_first_pass use_authtok
> session required pam_unix.so # trace or debug
> session required pam_limits.so
> =====
>
> and it works here with SuSE Linux Enterprise Server 8.
>
> HTH. HAND.
>
> On Thursday 21 August 2003 04:41 pm, Bill Warner wrote:
> > anyone know why when a password expires with passwd -e <user> or its
> > time expires I can't change it while logging in with ssh.
> >
> > > $ ssh server
> > > user@server's password:
> > > Connection to qbb closed by remote host.
> > > Connection to qbb closed.
> >
> > If I log in with telnet it lets me change the password
>
> [snipped]
>
> - --
> begin sig.txt
> Jean L. Francois - Enterprise Linux Architect ( JLF Sends... )
> Ciber, Inc. @ FSIC - Ford Systems Integration Center
> "Failure is only postponed success as long as courage
> 'coaches' ambition. The habit of persistence is the
> habit of victory."
> end
>
> --
Bill Warner <
wwarner@direct-alliance.com>
Direct Alliance