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

Diff for /src/usr.bin/su/su.c between version 1.38 and 1.39

version 1.38, 2001/05/31 18:41:16 version 1.39, 2001/06/25 16:18:38
Line 136 
Line 136 
   
         if ((as = auth_open()) == NULL) {          if ((as = auth_open()) == NULL) {
                 syslog(LOG_ERR, "auth_open: %m");                  syslog(LOG_ERR, "auth_open: %m");
                 err(1, "unable to begin authentication");                  err(1, "unable to initialize BSD authentication");
         }          }
           auth_setoption(as, "login", "yes");
   
         /* get current login name and shell */          /* get current login name and shell */
         ruid = getuid();          ruid = getuid();

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39