- djm@cvs.openbsd.org 2010/06/22 04:59:12

[session.c]
     include the user name on "subsystem request for ..." log messages;
     bz#1571; ok dtucker@
This commit is contained in:
Damien Miller 2010-06-26 09:47:43 +10:00
parent 0e76c5e502
commit 1b2b61e6f8
2 changed files with 7 additions and 2 deletions

View File

@ -46,6 +46,10 @@
[ssh-keyscan.c]
replace verbose and overflow-prone Linebuf code with read_keyfile_line()
based on patch from joachim AT joachimschipper.nl; bz#1565; ok dtucker@
- djm@cvs.openbsd.org 2010/06/22 04:59:12
[session.c]
include the user name on "subsystem request for ..." log messages;
bz#1571; ok dtucker@
20100622
- (djm) [loginrec.c] crank LINFO_NAMESIZE (username length) to 512

View File

@ -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
@ -2165,7 +2165,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) {