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?



> Datum: Sat, 15 Oct 2011 12:54:02 +0000 (UTC)
> 
> putty runs a login shell, plink does not. A login shell executes
> /etc/profile and $HOME/.profile, that's where your PATH is set.

Thanks for your Answer!
after change the etc/profile i reconnect with plink without success
also i don't know from how it's creating plink this path?

$ echo $PATH 
/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin

Here me Profile; but this arn't still not intress plink
$ cat /etc/profile and $Home\.profile
#       $NetBSD: profile,v 1.1 1997/06/21 06:07:39 mikel Exp $
#
#        System-wide .profile file for sh(1).
PATH=$HOME/bin:/usr/pkg/gcc45/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/sbin:/bin
PATH=${PATH}:/usr/games:/usr/local/bin:/usr/local/sbin
export PATH

Please help and thanks !
best regards
Mauri
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone


Home | Main Index | Thread Index | Old Index