summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/auth.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-11-08 20:02:24 +0000
committermarkus <markus@openbsd.org>2001-11-08 20:02:24 +0000
commitd1db95d07c1950183b15cee5020a716658f4a96d (patch)
tree7a9723d1b3ce9a4761a1f18ac841ea837b259b8d /usr.bin/ssh/auth.c
parentveli tpyo stolen fmor nkilsa (diff)
downloadwireguard-openbsd-d1db95d07c1950183b15cee5020a716658f4a96d.tar.xz
wireguard-openbsd-d1db95d07c1950183b15cee5020a716658f4a96d.zip
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 'usr.bin/ssh/auth.c')
-rw-r--r--usr.bin/ssh/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index 19e4f57ed75..38cfd94ac6b 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -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 $");
#include <libgen.h>
@@ -156,7 +156,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);