diff options
author | gad <gad@FreeBSD.org> | 2002-03-12 19:48:32 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2002-03-12 19:48:32 +0000 |
commit | 42c020af817ac03cb9a53456c043248ce8e7a8d6 (patch) | |
tree | 70961faee7a90ca3ce50702c686990b88b6e10cf /usr.bin/login/login.c | |
parent | 42c25f9773e05ec3c6eb1267e31956d2aac84e19 (diff) | |
download | FreeBSD-src-42c020af817ac03cb9a53456c043248ce8e7a8d6.zip FreeBSD-src-42c020af817ac03cb9a53456c043248ce8e7a8d6.tar.gz |
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
Diffstat (limited to 'usr.bin/login/login.c')
-rw-r--r-- | usr.bin/login/login.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index c821319..a17c60f 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -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 |