Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 09:00:14 +0400
From:      "AMI" <ami@lycos.ru>
To:        "FreeBSD-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: rsh one more  issue
Message-ID:  <009301c1f716$a1c0e8c0$0100a8c0@p7>
References:  <FBDFBCB7591BD611AB4A00D0B79E60B0E12460@vhqpostal2.verisign.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Jiri!

> One more issue.
> 
> I have added in .profile in my home directory TEST=test;  export TEST
> 
> I' running from Solaris 
> rsh jmedlin-bsd -l jmedlen env
> rsh jmedlin-bsd -l jmedlen echo $SHELL
> 
> But I do not see TEST variable?
> What file I need to modify to see new variable? 
> 
> first rsh result
> USER=jmedlen
> MAIL=/var/mail/jmedlen
> BLOCKSIZE=k
> PATH=/sbin..............
> SHELL=/bin/sh
> FTP_PASSIVE_MODE=yes
> 
> 
> second rsh result
> 
> /usr/bin/csh
####### ^^^^^ - You use CSH currently, imho!

> 
> When I run env locally it is fine.
> Looks like rsh is not using .profile?
> 
> What file is rsh using?
> 
> I have modified .cshrc as well but no result. 
> 
> Thanks,
> 
> -Jiri-




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009301c1f716$a1c0e8c0$0100a8c0>