- (djm) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2004/07/21 08:56:12 [auth.c] s/Illegal user/Invalid user/; many requests; ok djm, millert, niklas, miod, ...
This commit is contained in:
parent
b5a21440a8
commit
a22f2d761b
|
@ -1,3 +1,10 @@
|
||||||
|
20040720
|
||||||
|
- (djm) OpenBSD CVS Sync
|
||||||
|
- markus@cvs.openbsd.org 2004/07/21 08:56:12
|
||||||
|
[auth.c]
|
||||||
|
s/Illegal user/Invalid user/; many requests; ok djm, millert, niklas,
|
||||||
|
miod, ...
|
||||||
|
|
||||||
20040720
|
20040720
|
||||||
- (djm) [log.c] bz #111: Escape more control characters when sending data
|
- (djm) [log.c] bz #111: Escape more control characters when sending data
|
||||||
to syslog; from peak AT argo.troja.mff.cuni.cz
|
to syslog; from peak AT argo.troja.mff.cuni.cz
|
||||||
|
@ -1543,4 +1550,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3483 2004/07/21 10:44:05 djm Exp $
|
$Id: ChangeLog,v 1.3484 2004/07/21 10:48:24 djm Exp $
|
||||||
|
|
4
auth.c
4
auth.c
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: auth.c,v 1.54 2004/05/23 23:59:53 dtucker Exp $");
|
RCSID("$OpenBSD: auth.c,v 1.55 2004/07/21 08:56:12 markus Exp $");
|
||||||
|
|
||||||
#ifdef HAVE_LOGIN_H
|
#ifdef HAVE_LOGIN_H
|
||||||
#include <login.h>
|
#include <login.h>
|
||||||
|
@ -462,7 +462,7 @@ getpwnamallow(const char *user)
|
||||||
|
|
||||||
pw = getpwnam(user);
|
pw = getpwnam(user);
|
||||||
if (pw == NULL) {
|
if (pw == NULL) {
|
||||||
logit("Illegal user %.100s from %.100s",
|
logit("Invalid user %.100s from %.100s",
|
||||||
user, get_remote_ipaddr());
|
user, get_remote_ipaddr());
|
||||||
#ifdef CUSTOM_FAILED_LOGIN
|
#ifdef CUSTOM_FAILED_LOGIN
|
||||||
record_failed_login(user, "ssh");
|
record_failed_login(user, "ssh");
|
||||||
|
|
Loading…
Reference in New Issue