From owner-freebsd-questions Wed May 8 22: 2: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailbox-2.st1.spray.net (mailbox-2.st1.spray.net [212.78.202.102]) by hub.freebsd.org (Postfix) with ESMTP id D56AE37B40A for ; Wed, 8 May 2002 22:01:53 -0700 (PDT) Received: from p7 (spb-213-33-245-31.sovintel.ru [213.33.245.31] (may be forged)) by mailbox-2.st1.spray.net (8.8.8/8.8.8) with SMTP id HAA08070 for ; Thu, 9 May 2002 07:01:50 +0200 (DST) Posted-Date: Thu, 9 May 2002 07:01:50 +0200 (DST) Message-ID: <009301c1f716$a1c0e8c0$0100a8c0@p7> From: "AMI" To: "FreeBSD-questions" References: Subject: Re: rsh one more issue Date: Thu, 9 May 2002 09:00:14 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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