The following alteration needs to be made to loginrec.c in the routine record_failed_login() #ifdef USE_UTMP construct_utmp(&li, &ut); #endif It was missing "#ifdef USE_UTMP" which causes an problem if you are not using UTMP. gt