diff options
| author | Damien Miller <djm@mindrot.org> | 2001-11-12 11:06:06 +1100 |
|---|---|---|
| committer | Damien Miller <djm@mindrot.org> | 2001-11-12 11:06:06 +1100 |
| commit | f655207a46fa4eeaa38f86e09cf6bca6537b50a8 (patch) | |
| tree | a0e670a5a9904ba2f97940676b6e9d297c44f96e /auth.c | |
| parent | 705499b2483396a76a6e1a1f682b419ee828c242 (diff) | |
| download | platform_external_openssh-f655207a46fa4eeaa38f86e09cf6bca6537b50a8.tar.gz platform_external_openssh-f655207a46fa4eeaa38f86e09cf6bca6537b50a8.tar.bz2 platform_external_openssh-f655207a46fa4eeaa38f86e09cf6bca6537b50a8.zip | |
- markus@cvs.openbsd.org 2001/11/08 20:02:24
[auth.c]
don't print ROOT in CAPS for the authentication messages, i.e.
Accepted publickey for ROOT from 127.0.0.1 port 42734 ssh2
becomes
Accepted publickey for root from 127.0.0.1 port 42734 ssh2
Diffstat (limited to 'auth.c')
| -rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth.c,v 1.28 2001/10/03 10:01:20 markus Exp $"); +RCSID("$OpenBSD: auth.c,v 1.29 2001/11/08 20:02:24 markus Exp $"); #ifdef HAVE_LOGIN_H #include <login.h> @@ -208,7 +208,7 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) authmsg, method, authctxt->valid ? "" : "illegal user ", - authctxt->valid && authctxt->pw->pw_uid == 0 ? "ROOT" : authctxt->user, + authctxt->user, get_remote_ipaddr(), get_remote_port(), info); |
