scp : Problems with pathing

Markus Friedl markus at openbsd.org
Tue Apr 2 02:43:35 EST 2002


On Sun, Mar 31, 2002 at 12:01:46PM -0500, Tuc wrote:
> > 
> > On Sat, Mar 30, 2002 at 10:33:05AM -0800, Tim Rice wrote:
> > > So the path you want, "_PATH_STDPATH" will not be used.
> > > I'm not sure what to do about it. I have no BSD here.
> > 
> > BSD/OS uses the path from /etc/login.conf
> > 
> 	Ok. So which is the correct behaviour. Is it supposed to prefer the
> users path, over the compiled in path? Is there something I can pass to tell
> it to IGNORE the users path? Should I just change the config.h or defines.h
> to say we don't have the facility to use the getenv('PATH') stuff?

we set the path from login.conf and re-read if with getenv. if your
dot-whatever overrides the path, then you need to fix dot-whatever.
there is no such thing as the 'users path'.



More information about the openssh-unix-dev mailing list