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

Diff for /src/usr.bin/ssh/auth.c between version 1.35 and 1.36

version 1.35, 2002/03/01 13:12:10 version 1.36, 2002/03/15 11:00:38
Line 76 
Line 76 
                     pw->pw_name, shell);                      pw->pw_name, shell);
                 return 0;                  return 0;
         }          }
         if (!((st.st_mode & S_IFREG) && (st.st_mode & (S_IXOTH|S_IXUSR|S_IXGRP)))) {          if (S_ISREG(st.st_mode) == 0 ||
               (st.st_mode & (S_IXOTH|S_IXUSR|S_IXGRP)) == 0) {
                 log("User %.100s not allowed because shell %.100s is not executable",                  log("User %.100s not allowed because shell %.100s is not executable",
                     pw->pw_name, shell);                      pw->pw_name, shell);
                 return 0;                  return 0;

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36