search for: _path_rsh

Displaying 4 results from an estimated 4 matches for "_path_rsh".

Did you mean: _path_ls
2001 Feb 26
0
RPM .spec files: rsh requirement removed
...y.. :-) This has been there from OpenSSH 2.1.1p4 era or so because back then, if configure couldn't find /usr/bin/rsh, it wouldn't be defined at all (see below). Also, FallBackToRsh isn't enabled by default so this shouldn't be a problem. defines.h back long time ago: --- #ifndef _PATH_RSH # ifdef RSH_PATH # define _PATH_RSH RSH_PATH # endif /* RSH_PATH */ #endif /* _PATH_RSH */ --- Ie: no fallback to /usr/bin/rsh. Nowadays, this has been: --- #ifndef _PATH_RSH # ifdef RSH_PATH # define _PATH_RSH RSH_PATH # else /* RSH_PATH */ # define _PATH_RSH "/usr/bin/rsh" # endif...
2002 Jun 24
1
remove --with-rsh
...le: /var/cvs/openssh/defines.h,v retrieving revision 1.91 diff -u -r1.91 defines.h --- defines.h 22 Jun 2002 00:27:00 -0000 1.91 +++ defines.h 24 Jun 2002 00:50:33 -0000 @@ -316,14 +316,6 @@ # define _PATH_MAILDIR MAILDIR #endif /* !defined(_PATH_MAILDIR) && defined(MAILDIR) */ -#ifndef _PATH_RSH -# ifdef RSH_PATH -# define _PATH_RSH RSH_PATH -# else /* RSH_PATH */ -# define _PATH_RSH "/usr/bin/rsh" -# endif /* RSH_PATH */ -#endif /* _PATH_RSH */ - #ifndef _PATH_NOLOGIN # define _PATH_NOLOGIN "/etc/nologin" #endif
2000 Jul 14
0
rlogin/slogin handling [PATCH]
...[256]; log("Using rsh. WARNING: Connection will not be encrypted."); + +/* Check case for rlogin/slogin */ + if (strncmp(av0, "rlogin", strlen(av0)) == 0 || strncmp(av0, "slogin", strlen(av0)) == 0)+ { + strncpy(rsh_program_name, _PATH_RSH, sizeof(rsh_program_name)); + if (strchr(rsh_program_name, '/')) + *strrchr(rsh_program_name, '/') = '\0'; + sprintf(rsh_program_name + strlen(rsh_program_name), "/rlogin"); + } + else + { +...
1999 Dec 09
0
xauth location in openssh-1.2pre17
..." #include "bsd-snprintf.h" - -/* Define this to be the path of the xauth program. */ -#ifndef XAUTH_PATH -#define XAUTH_PATH "/usr/X11R6/bin/xauth" -#endif /* XAUTH_PATH */ +#include "bsd-daemon.h" /* Define this to be the path of the rsh program. */ #ifndef _PATH_RSH --- config.h.in.orig Thu Dec 9 14:17:04 1999 +++ config.h.in Thu Dec 9 13:11:24 1999 @@ -175,6 +175,9 @@ /* Define if you have the z library (-lz). */ #undef HAVE_LIBZ +/* Path to xauth */ +#undef XAUTH_PATH + /* ******************* Shouldn't need to edit below this line ***********...