Displaying 1 result from an estimated 1 matches for "ssh_system_rc".
2000 Jun 29
1
_PATH_BSHELL versus /bin/sh
...while _PATH_BSHELL is defined in "defines.h", there are
two sources which uses /bin/sh _hardcoded_. Shouldn't that
changed to _PATH_BSHELL, too?
session.c:1065: f = popen("/bin/sh " SSH_USER_RC, "w");
session.c:1076: f = popen("/bin/sh " SSH_SYSTEM_RC, "w");
sshconnect.c:111: argv[0] = "/bin/sh";
sshconnect.c:118: execv("/bin/sh", argv);
sshconnect.c:119: perror("/bin/sh");
The problem is that this hardcoded path refuses simple
recompiling for special environments with other default
shel...