summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-02-24 11:57:01 +1100
committerDamien Miller <djm@mindrot.org>2003-02-24 11:57:01 +1100
commit97f39ae810a8589c262f2b88d7dd4e70c0b84d70 (patch)
tree574f646bfe75ebd533a3635333efa4c99d1c91a0
parent61f08ac35a06e758c20fc85b9944d1feee146d47 (diff)
- markus@cvs.openbsd.org 2003/02/06 09:26:23
[session.c] missing call to setproctitle() after authentication; ok provos@
-rw-r--r--ChangeLog5
-rw-r--r--session.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8fe2de974..fc5f241bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -42,6 +42,9 @@
42 - markus@cvs.openbsd.org 2003/02/05 09:02:28 42 - markus@cvs.openbsd.org 2003/02/05 09:02:28
43 [readconf.c] 43 [readconf.c]
44 simplify ProxyCommand parsing, remove strcat/xrealloc; ok henning@, djm@ 44 simplify ProxyCommand parsing, remove strcat/xrealloc; ok henning@, djm@
45 - markus@cvs.openbsd.org 2003/02/06 09:26:23
46 [session.c]
47 missing call to setproctitle() after authentication; ok provos@
45 48
4620030211 4920030211
47 - (djm) Cygwin needs libcrypt too. Patch from vinschen@redhat.com 50 - (djm) Cygwin needs libcrypt too. Patch from vinschen@redhat.com
@@ -1142,4 +1145,4 @@
1142 save auth method before monitor_reset_key_state(); bugzilla bug #284; 1145 save auth method before monitor_reset_key_state(); bugzilla bug #284;
1143 ok provos@ 1146 ok provos@
1144 1147
1145$Id: ChangeLog,v 1.2604 2003/02/24 00:56:27 djm Exp $ 1148$Id: ChangeLog,v 1.2605 2003/02/24 00:57:01 djm Exp $
diff --git a/session.c b/session.c
index 812681d0f..c64240cf2 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.152 2002/12/10 08:56:00 markus Exp $"); 36RCSID("$OpenBSD: session.c,v 1.153 2003/02/06 09:26:23 markus Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -201,6 +201,8 @@ auth_input_request_forwarding(struct passwd * pw)
201void 201void
202do_authenticated(Authctxt *authctxt) 202do_authenticated(Authctxt *authctxt)
203{ 203{
204 setproctitle("%s", authctxt->pw->pw_name);
205
204 /* 206 /*
205 * Cancel the alarm we set to limit the time taken for 207 * Cancel the alarm we set to limit the time taken for
206 * authentication. 208 * authentication.