diff options
author | Damien Miller <djm@mindrot.org> | 2003-02-24 11:57:01 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-02-24 11:57:01 +1100 |
commit | 97f39ae810a8589c262f2b88d7dd4e70c0b84d70 (patch) | |
tree | 574f646bfe75ebd533a3635333efa4c99d1c91a0 /session.c | |
parent | 61f08ac35a06e758c20fc85b9944d1feee146d47 (diff) |
- markus@cvs.openbsd.org 2003/02/06 09:26:23
[session.c]
missing call to setproctitle() after authentication; ok provos@
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.152 2002/12/10 08:56:00 markus Exp $"); | 36 | RCSID("$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) | |||
201 | void | 201 | void |
202 | do_authenticated(Authctxt *authctxt) | 202 | do_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. |