[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.20 and 1.21

version 1.20, 2001/02/03 10:08:36 version 1.21, 2001/02/08 19:30:51
Line 23 
Line 23 
 #include "log.h"  #include "log.h"
 #include "servconf.h"  #include "servconf.h"
 #include "canohost.h"  #include "canohost.h"
   #include "auth.h"
   
 /*  /*
  * This function processes an rhosts-style file (.rhosts, .shosts, or   * This function processes an rhosts-style file (.rhosts, .shosts, or
Line 188 
Line 189 
   
         /* If not logging in as superuser, try /etc/hosts.equiv and shosts.equiv. */          /* If not logging in as superuser, try /etc/hosts.equiv and shosts.equiv. */
         if (pw->pw_uid != 0) {          if (pw->pw_uid != 0) {
                 if (check_rhosts_file("/etc/hosts.equiv", hostname, ipaddr, client_user,                  if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, client_user,
                                       pw->pw_name)) {                                        pw->pw_name)) {
                         packet_send_debug("Accepted for %.100s [%.100s] by /etc/hosts.equiv.",                          packet_send_debug("Accepted for %.100s [%.100s] by /etc/hosts.equiv.",
                                           hostname, ipaddr);                                            hostname, ipaddr);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21