Date: Tue, 27 May 1997 03:22:15 -0600 (MDT) From: nirva@ishiboo.com To: msmith@revolution.3-cities.com (Mark D Smith) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: rsh/ksh problems Message-ID: <19970527092216.9143.qmail@dot.ishiboo.com> In-Reply-To: <199705270745.AAA16276@revolution.3-cities.com> from "Mark D Smith" at May 27, 97 00:45:04 am
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Mark D Smith <msmith@revolution.3-cities.com> > Subject: rsh/ksh problems > Date: Tue, 27 May 1997 00:45:04 -0700 (PDT) > > Greetings, > > I'm having a nasty problem that I can't quite track down. > > I have the .rhosts file properly created. > > when i say "rsh machine2 ls" I get the output from ls. OK, fine. Now > I say "rsh machine2 rmt" and it says ksh: rmt: not found. Hmm, > now I say "rsh machine2 set" and I get the path as being > PATH='/usr/bin:/bin'. For some reason, the remote ksh is not picking > up the path in /etc/profile or $HOME/.profile. Am I doing something > wrong here? How do I get the remote ksh to pick up the path that I > need? Your .profile doesn't get read when you run a shell through rsh because the shell isn't started as a login shell. You need to set the PATH in the non-login rc file... I'm not sure what it is for ksk. > thanks > > Mark > -- Neal Fachan kneel@ishiboo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970527092216.9143.qmail>