Simple fix so the 'LOGIN FAILURE' message send to syslog will include

the correct userid, instead of random garbage.  This bug does not
exist in -stable.

Reviewed by:	freebsd-audit
This commit is contained in:
Garance A Drosehn 2002-03-12 19:48:32 +00:00
parent 8580fd6b50
commit 3be0f8f038

View File

@ -284,7 +284,6 @@ main(int argc, char *argv[])
if (failures > (pwd ? 0 : 1))
badlogin(olduser);
}
olduser = username;
/*
* Load the PAM policy and set some variables