PAM error on openssh-2.3.0p1/HP-UX
Stephan Hendl
Stephan.Hendl at lds.brandenburg.de
Mon Jan 15 20:59:27 EST 2001
Hi all,
I try to login from a Linux Box with ssh-1.2.27 to an HP-UX Server with openssh-2.3.0p1 using PAM. After a couple of login the HP-UX disables my account with the error message: Too many unsuccesful logins. It seems to me - and the logfile says it too - that the first attemt to authenticate myself via Password fails and the second attempt via rsa-key works. Now the counter of unsuccesful logins is added by one and after 5 logins I am disabled.
I use the ssh-agent technology with rsa-keys. The required PAM-Patch is installed. What shell I do?
Jan 15 10:39:46 pns sshd[12272]: pam_authenticate: error Authentication failedJan 15 10:39:46 pns sshd[12272]: debug1: PAM Password authentication for "hendl" failed[9]: Authentication failedJan 15 10:39:46 pns sshd[12272]: Accepted rsa for hendl from 194.76.232.130 port 2571Jan 15 10:39:46 pns sshd[12272]: debug1: PAM setting rhost to "www1.brandenburg.de"
The second problem is that at the end of a session some PAM related file could not be deleted. See logfile below.
Jan 15 10:52:24 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:24 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:27 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:32 pns sshd[13016]: debug1: EOF received for stdin.Jan 15 10:52:27 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:32 pns sshd[13016]: Connection closed by remote host.Jan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40005e12(0x4000be40)Jan 15 10:52:32 pns sshd[13016]: debug1: pty_cleanup_proc: /dev/pts/3Jan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40005d6a(0x0)Jan 15 10:52:32 pns sshd[13016]: pam_setcred: error Permission deniedJan 15 10:52:32 pns sshd[13016]: debug1: Cannot delete credentials[7]: Permission deniedJan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40005ffa(0x0)Jan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40006002(0x0)Jan 15 10:52:32 pns sshd[13016]: debug1: writing PRNG seed to file //.ssh/prng_seed
Thanks for help!
Stephan
More information about the openssh-unix-dev
mailing list