NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Putty Ok, but plink with different Env?



mauric%gmx.ch@localhost ("Maurizio Caloro") writes:

>if connect from Windows with Putty to Netbsd5.1 i have the right Envoierment 
>like PATH=/home/moonwalker/bin:/usr/pkg/gcc45/bin:/usr/pkg/bin:/usr/pkg/sbin:
>/usr/X11R7/bin:/usr/sbin:/usr/bin:/sbin:/bin

>but if i connect with plink with same login i don't have the right Path and 
>Env. 
>PATH=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin

putty runs a login shell, plink does not. A login shell executes
/etc/profile and $HOME/.profile, that's where your PATH is set.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index