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

Diff for /src/usr.bin/ssh/auth-rhosts.c between version 1.52 and 1.53

version 1.52, 2020/04/17 03:30:05 version 1.53, 2020/10/18 11:32:01
Line 219 
Line 219 
         if (!rhosts_files[rhosts_file_index] &&          if (!rhosts_files[rhosts_file_index] &&
             stat(_PATH_RHOSTS_EQUIV, &st) == -1 &&              stat(_PATH_RHOSTS_EQUIV, &st) == -1 &&
             stat(_PATH_SSH_HOSTS_EQUIV, &st) == -1) {              stat(_PATH_SSH_HOSTS_EQUIV, &st) == -1) {
                 debug3("%s: no hosts access files exist", __func__);                  debug3_f("no hosts access files exist");
                 return 0;                  return 0;
         }          }
   
Line 228 
Line 228 
          * shosts.equiv.           * shosts.equiv.
          */           */
         if (pw->pw_uid == 0)          if (pw->pw_uid == 0)
                 debug3("%s: root user, ignoring system hosts files", __func__);                  debug3_f("root user, ignoring system hosts files");
         else {          else {
                 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr,                  if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr,
                     client_user, pw->pw_name)) {                      client_user, pw->pw_name)) {

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53