[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.71 and 1.71.2.1

version 1.71, 2019/06/28 13:35:01 version 1.71.2.1, 2019/12/04 09:52:22
Line 340 
Line 340 
                 }                  }
                 shell = strrchr(script, '/') + 1;                  shell = strrchr(script, '/') + 1;
                 auth_setstate(as, AUTH_OKAY);                  auth_setstate(as, AUTH_OKAY);
                 auth_call(as, script, shell,                  if (fflag) {
                     fflag ? "-f" : username, fflag ? username : 0, (char *)0);                          auth_call(as, script, shell, "-f", "--", username,
                               (char *)NULL);
                   } else {
                           auth_call(as, script, shell, "--", username,
                               (char *)NULL);
                   }
                 if (!(auth_getstate(as) & AUTH_ALLOW))                  if (!(auth_getstate(as) & AUTH_ALLOW))
                         quickexit(1);                          quickexit(1);
                 auth_setenv(as);                  auth_setenv(as);
Line 367 
Line 372 
         }          }
   
         /*          /*
          * Request the things like the approval script print things           * Request that things like the approval script print things
          * to stdout (in particular, the nologins files)           * to stdout (in particular, the nologins files)
          */           */
         auth_setitem(as, AUTHV_INTERACTIVE, "True");          auth_setitem(as, AUTHV_INTERACTIVE, "True");

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.71.2.1