diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-02-06 09:26:24 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-02-06 09:26:24 +0000 |
commit | 22d42eb4c21ba7d3405556fa61af71b84c99ee63 (patch) | |
tree | 429023397ded7149d1dd805129484aba590866ce | |
parent | c9dad2fb1ea7be773020070fb498f3a0cf7fcd5a (diff) |
missing call to setproctitle() after authentication; ok provos@
-rw-r--r-- | usr.bin/ssh/session.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index fa268e1442d..eeb5db00def 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -33,7 +33,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.152 2002/12/10 08:56:00 markus Exp $"); +RCSID("$OpenBSD: session.c,v 1.153 2003/02/06 09:26:23 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -188,6 +188,8 @@ auth_input_request_forwarding(struct passwd * pw) void do_authenticated(Authctxt *authctxt) { + setproctitle("%s", authctxt->pw->pw_name); + /* * Cancel the alarm we set to limit the time taken for * authentication. |