scp : Problems with pathing

Markus Friedl markus at openbsd.org
Tue Apr 2 17:58:47 EST 2002


On Mon, Apr 01, 2002 at 04:33:25PM -0500, Tuc wrote:
> > 
> > for LOGIN_CAP the value from /etc/login.conf is used.
> > 
> 	Ok, great, thanks.
> 
> 	Is there a way to convince it when its configured with
> ./configure to either "ignore" we have LOGIN_CAP or something like that so
> it DOES hardcode the _PATH_STDPATH in? I don't want to change /etc/login.conf
> to add the /usr/local/bin path, so the only other thing I can do is
> get it to use :
> 
>                 child_set_env(&env, &envsize, "PATH", _PATH_STDPATH);

but that's the wrong thing to do for LOGIN_CAP systems.

of course you can hack your source.



More information about the openssh-unix-dev mailing list