A problem with PATH in sshd.c
Jim Knoble
jmknoble at pobox.com
Thu Feb 24 19:56:00 EST 2000
Supply --with-default-path=... when running ./configure before compiling
OpenSSH (where `...' is the default path you would like sshd to use
instead of your system's _PATH_STDPATH). No patch necessary.
--
jim knoble
jmknoble at pobox.com
På 2000-Feb-24 klokka 09:06:28 +0100 skrivet David Bartl:
: on my Linux (distribution Slackware 3.9), I have installed the
: ``openssh-1.2.2.tar.gz'' package into the /usr/local/bin directory.
:
: In the ``sshd.c'' file, the PATH variable is set up:
:
: child_set_env(&env, &envsize, "PATH", _PATH_STDPATH);
:
: (line no. 2405). I am unable to connect to my machine using scp.
: _PATH_STDPATH is "/usr/bin:/bin:/usr/sbin:/sbin", but the scp program
: dwells in /usr/local/bin. If I try to connect, enter password (etc.,
: all OK), then the shell reports it could not find the scp command (not
: in PATH) and the connection is closed...
More information about the openssh-unix-dev
mailing list