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

Diff for /src/usr.bin/login/login.c between version 1.30 and 1.31

version 1.30, 2000/08/20 18:42:39 version 1.31, 2000/08/24 20:05:07
Line 346 
Line 346 
                  * but with insecure terminal, refuse the login attempt.                   * but with insecure terminal, refuse the login attempt.
                  */                   */
 #if defined(KERBEROS) || defined(KERBEROS5)  #if defined(KERBEROS) || defined(KERBEROS5)
                 if (authok == 0)                  if (authok == 1)
 #endif  #endif
                 /* if logging in as root, user must be on a secure tty */                  /* if logging in as root, user must be on a secure tty */
                 if (pwd && !rval && (!rootlogin || rootterm(tty)))                  if (pwd && rval == 0 && (!rootlogin || rootterm(tty)))
                         break;                          break;
   
                 /*                  /*

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31