[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.13 and 1.13.2.2

version 1.13, 2000/04/14 10:30:29 version 1.13.2.2, 2000/11/08 21:30:21
Line 1 
Line 1 
 /*  /*
  *  
  * auth-rhosts.c  
  *  
  * Author: Tatu Ylonen <ylo@cs.hut.fi>   * Author: Tatu Ylonen <ylo@cs.hut.fi>
  *  
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved   *                    All rights reserved
  *  
  * Created: Fri Mar 17 05:12:18 1995 ylo  
  *  
  * Rhosts authentication.  This file contains code to check whether to admit   * Rhosts authentication.  This file contains code to check whether to admit
  * the login based on rhosts authentication.  This file also processes   * the login based on rhosts authentication.  This file also processes
  * /etc/hosts.equiv.   * /etc/hosts.equiv.
  *   *
    * As far as I am concerned, the code I have written for this software
    * can be used freely for any purpose.  Any derived versions of this
    * software must be clearly marked as such, and if the derived work is
    * incompatible with the protocol description in the RFC file, it must be
    * called by a name other than "ssh" or "Secure Shell".
  */   */
   
 #include "includes.h"  #include "includes.h"
 RCSID("$Id$");  RCSID("$OpenBSD$");
   
 #include "packet.h"  #include "packet.h"
 #include "ssh.h"  #include "ssh.h"
Line 156 
Line 154 
         static const char *rhosts_files[] = {".shosts", ".rhosts", NULL};          static const char *rhosts_files[] = {".shosts", ".rhosts", NULL};
         unsigned int rhosts_file_index;          unsigned int rhosts_file_index;
   
           /* no user given */
           if (pw == NULL)
                   return 0;
         /* Switch to the user's uid. */          /* Switch to the user's uid. */
         temporarily_use_uid(pw->pw_uid);          temporarily_use_uid(pw->pw_uid);
         /*          /*

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.13.2.2