_PATH_BSHELL versus /bin/sh
Corinna Vinschen
vinschen at cygnus.com
Thu Jun 29 23:07:10 EST 2000
Hi all,
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
shells.
Corinna
--
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company
More information about the openssh-unix-dev
mailing list