From 60f3c983cc7314fe7e488e75be653974080f9de5 Mon Sep 17 00:00:00 2001 From: andre Date: Sat, 3 Jun 2000 16:18:19 +0000 Subject: [PATCH] Disable lastlog for AIX, as it's handled by the OS as part of the login message --- configure.in | 2 ++ loginrec.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 8bb647c12..cab5b7acc 100644 --- a/configure.in +++ b/configure.in @@ -36,6 +36,8 @@ case "$host" in fi AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)]) AC_DEFINE(BROKEN_GETADDRINFO) + dnl AIX handles lastlog as part of its login message + AC_DEFINE(DISABLE_LASTLOG) ;; *-*-hpux10*) if test -z "$GCC"; then diff --git a/loginrec.c b/loginrec.c index c35328cb6..3991d91c5 100644 --- a/loginrec.c +++ b/loginrec.c @@ -47,9 +47,9 @@ ** IRIX ** NetBSD ** HP-UX 11 + ** AIX ** ** Platforms with known problems: - ** AIX (need to port AIX stuff from old login code ** NeXT ** **/ @@ -78,7 +78,7 @@ #include "xmalloc.h" #include "loginrec.h" -RCSID("$Id: loginrec.c,v 1.1 2000/06/03 14:57:40 andre Exp $"); +RCSID("$Id: loginrec.c,v 1.2 2000/06/03 16:18:19 andre Exp $"); /**