=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth1.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- src/usr.bin/ssh/Attic/auth1.c 2001/02/12 16:16:23 1.16 +++ src/usr.bin/ssh/Attic/auth1.c 2001/02/13 22:49:40 1.17 @@ -10,7 +10,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth1.c,v 1.16 2001/02/12 16:16:23 markus Exp $"); +RCSID("$OpenBSD: auth1.c,v 1.17 2001/02/13 22:49:40 markus Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -335,8 +335,6 @@ authctxt->user = user; authctxt->style = style; - setproctitle("%s", user); - /* Verify that the user is a valid user. */ pw = getpwnam(user); if (pw && allowed_user(pw)) { @@ -347,6 +345,8 @@ pw = NULL; } authctxt->pw = pw; + + setproctitle("%s", pw ? user : "unknown"); /* * If we are not running as root, the user must have the same uid as