summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-11-12 11:06:06 +1100
committerDamien Miller <djm@mindrot.org>2001-11-12 11:06:06 +1100
commitf655207a46fa4eeaa38f86e09cf6bca6537b50a8 (patch)
treea0e670a5a9904ba2f97940676b6e9d297c44f96e
parent705499b2483396a76a6e1a1f682b419ee828c242 (diff)
- 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
-rw-r--r--ChangeLog8
-rw-r--r--auth.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a9ec3aee4..5fc27418e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -48,6 +48,12 @@
48 - markus@cvs.openbsd.org 2001/11/08 17:49:53 48 - markus@cvs.openbsd.org 2001/11/08 17:49:53
49 [ssh.1] 49 [ssh.1]
50 mention setuid root requirements; noted by cnorris@csc.UVic.ca; ok stevesk@ 50 mention setuid root requirements; noted by cnorris@csc.UVic.ca; ok stevesk@
51 - markus@cvs.openbsd.org 2001/11/08 20:02:24
52 [auth.c]
53 don't print ROOT in CAPS for the authentication messages, i.e.
54 Accepted publickey for ROOT from 127.0.0.1 port 42734 ssh2
55 becomes
56 Accepted publickey for root from 127.0.0.1 port 42734 ssh2
51 57
5220011109 5820011109
53 - (stevesk) auth-pam.c: use do_pam_authenticate(PAM_DISALLOW_NULL_AUTHTOK) 59 - (stevesk) auth-pam.c: use do_pam_authenticate(PAM_DISALLOW_NULL_AUTHTOK)
@@ -6857,4 +6863,4 @@
6857 - Wrote replacements for strlcpy and mkdtemp 6863 - Wrote replacements for strlcpy and mkdtemp
6858 - Released 1.0pre1 6864 - Released 1.0pre1
6859 6865
6860$Id: ChangeLog,v 1.1649 2001/11/12 00:05:38 djm Exp $ 6866$Id: ChangeLog,v 1.1650 2001/11/12 00:06:06 djm Exp $
diff --git a/auth.c b/auth.c
index 096fb32ae..2bf877d1d 100644
--- a/auth.c
+++ b/auth.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth.c,v 1.28 2001/10/03 10:01:20 markus Exp $"); 26RCSID("$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);