]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2001/11/08 20:02:24
authordjm <djm>
Mon, 12 Nov 2001 00:06:06 +0000 (00:06 +0000)
committerdjm <djm>
Mon, 12 Nov 2001 00:06:06 +0000 (00:06 +0000)
     [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

ChangeLog
auth.c

index 35848e5fdb163def15e3fe38bf61962b995c4da5..be8031a7fd03978f29cce558437cd5002f7b7c84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
    - markus@cvs.openbsd.org 2001/11/08 17:49:53
      [ssh.1]
      mention setuid root requirements; noted by cnorris@csc.UVic.ca; ok stevesk@
+   - 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
 
 20011109
  - (stevesk) auth-pam.c: use do_pam_authenticate(PAM_DISALLOW_NULL_AUTHTOK)
diff --git a/auth.c b/auth.c
index 096fb32ae270c86b52cd2ef5ea85b54641f68c03..2bf877d1d1bc362c4998dfe81afe0f4a4652c966 100644 (file)
--- a/auth.c
+++ b/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 $");
 
 #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);
This page took 0.094385 seconds and 5 git commands to generate.