[9530] in bugtraq
Re: SSH puts . in $PATH (solved)
daemon@ATHENA.MIT.EDU (Kenn Humborg)
Fri Feb 12 20:08:26 1999
Date: Fri, 12 Feb 1999 12:27:47 -0000
Reply-To: Kenn Humborg <kenn@BLUETREE.IE>
From: Kenn Humborg <kenn@BLUETREE.IE>
To: BUGTRAQ@NETSPACE.ORG
Many thanks to the 50+ people who checked this out
for me. I got two positives and the remainder were
negatives. I really didn't expect such a response!
Further investigation on my part has tracked down the
culprit:
The RPMs were built with no --with-path= option to ./configure.
The default path then fell back to using _PATH_DEFPATH from
/usr/include/paths.h. In paths.h as shipped with libc5, this
path is "/usr/local/bin:/usr/bin:/bin:.".
In paths.h as shipped with glibc, it is "/usr/bin:/bin".
I'll contact the maintainer of the ssh RPMs and ask him to
use the --with-path option to ./configure.
Thanks again for your help.
Kenn