diff options
author | 2010-06-22 04:59:12 +0000 | |
---|---|---|
committer | 2010-06-22 04:59:12 +0000 | |
commit | e6f5c7b1101700d6da734dc09c9779d20db008a0 (patch) | |
tree | 1a368a045ceb158ff8dc1ae12bb2c1254f06d9e9 | |
parent | replace verbose and overflow-prone Linebuf code with read_keyfile_line() (diff) | |
download | wireguard-openbsd-e6f5c7b1101700d6da734dc09c9779d20db008a0.tar.xz wireguard-openbsd-e6f5c7b1101700d6da734dc09c9779d20db008a0.zip |
include the user name on "subsystem request for ..." log messages;
bz#1571; ok dtucker@
-rw-r--r-- | usr.bin/ssh/session.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index 354df1f9302..424d44e52ba 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.254 2010/06/18 03:16:03 djm Exp $ */ +/* $OpenBSD: session.c,v 1.255 2010/06/22 04:59:12 djm Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved @@ -1753,7 +1753,8 @@ session_subsystem_req(Session *s) u_int i; packet_check_eom(); - logit("subsystem request for %.100s", subsys); + logit("subsystem request for %.100s by user %s", subsys, + s->pw->pw_name); for (i = 0; i < options.num_subsystems; i++) { if (strcmp(subsys, options.subsystem_name[i]) == 0) { |