Displaying 1 result from an estimated 1 matches for "rsh_program_name".
2000 Jul 14
0
rlogin/slogin handling [PATCH]
...is a quick patch I hacked up, based on the functionality in
ssh-1.2.27, tested under Solaris 2.6,7 and 8.
Thanks,
-Irving Popovetsky
--- ssh.c.orig Wed Jul 12 15:54:55 2000
+++ ssh.c Fri Jul 14 13:15:45 2000
@@ -160,11 +160,26 @@
{
char *args[10];
int i;
+ char rsh_program_name[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,...