Subject: Re: bin/2905: setting environment vars from login
To: Don Lewis <Don.Lewis@tsc.tdk.com>
From: Christian Kuhtz <email@example.com>
Date: 11/17/1996 17:49:52
On Sun, 17 Nov 1996 16:19:48 -0800, Don Lewis <Don.Lewis@tsc.tdk.com> mumbled:
> sh only executes .profile if it's a login shell, so this won't break
> sh scripts. Unfortunately, it doesn't do the right thing of you
> "rsh somemachine do something" (since .profile is not executed, it'll
> use sh, and even if you're not trying to change shells, you probably
> won't have the PATH that you want).
If you use rsh out of a login script, you most likely also use .rhosts or
similiar trust inducing mechanisms.
I generally use an even larger hammer on folks who do that. The rsh case
should not have an impact on anything we do.
Christian Kuhtz <firstname.lastname@example.org>, office: email@example.com
Network/UNIX Specialist for Paranet, Inc. http://www.paranet.com/
Supercomputing Junkie, et al [MIME/NeXTmail accepted]
---- BOYCOTT INTERNET SPAM! See URL http://www.vix.com/spam/ ----
I speak for myself only.