[BACK]Return to auth1.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/auth1.c between version 1.16 and 1.17

version 1.16, 2001/02/12 16:16:23 version 1.17, 2001/02/13 22:49:40
Line 335 
Line 335 
         authctxt->user = user;          authctxt->user = user;
         authctxt->style = style;          authctxt->style = style;
   
         setproctitle("%s", user);  
   
         /* Verify that the user is a valid user. */          /* Verify that the user is a valid user. */
         pw = getpwnam(user);          pw = getpwnam(user);
         if (pw && allowed_user(pw)) {          if (pw && allowed_user(pw)) {
Line 347 
Line 345 
                 pw = NULL;                  pw = NULL;
         }          }
         authctxt->pw = pw;          authctxt->pw = pw;
   
           setproctitle("%s", pw ? user : "unknown");
   
         /*          /*
          * If we are not running as root, the user must have the same uid as           * If we are not running as root, the user must have the same uid as

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17