OpenSSH 3.7.1p2 AIX loginsuccess() issue

Darren Tucker dtucker at
Tue Sep 30 23:55:42 EST 2003

James O'Connor wrote:
> Running sshd at debug level 3 shows:
> debug3: aix_setauthdb: AIX/setauthdb set registry to AFS
> After inserting "return;" at the top of aix_setauthdb() in
> openbsd-compat/port-aix.c, loginsuccess() returns successfully and the
> last successful and unsuccessful logins are printed prior to the motd.
> If I short circuit the aix_setauthdb() routine, will that cause any
> problems?

Possibly: you are probably no longer recording failed login attempts or
successful logins to your password registry.

It appears that your AFS password registry module does not support
loginsuccess(), or if it does then it doesn't work.  Does AFS have a
concept of "last logon"?

> Thanks for the help and the excellent password expiry patch!

You're welcome.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list