diff options
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth.c,v 1.28 2001/10/03 10:01:20 markus Exp $"); | 26 | RCSID("$OpenBSD: auth.c,v 1.29 2001/11/08 20:02:24 markus Exp $"); |
27 | 27 | ||
28 | #ifdef HAVE_LOGIN_H | 28 | #ifdef HAVE_LOGIN_H |
29 | #include <login.h> | 29 | #include <login.h> |
@@ -208,7 +208,7 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) | |||
208 | authmsg, | 208 | authmsg, |
209 | method, | 209 | method, |
210 | authctxt->valid ? "" : "illegal user ", | 210 | authctxt->valid ? "" : "illegal user ", |
211 | authctxt->valid && authctxt->pw->pw_uid == 0 ? "ROOT" : authctxt->user, | 211 | authctxt->user, |
212 | get_remote_ipaddr(), | 212 | get_remote_ipaddr(), |
213 | get_remote_port(), | 213 | get_remote_port(), |
214 | info); | 214 | info); |