Subject: Re: bin/2905: setting environment vars from login
To: Don Lewis <>
From: Christian Kuhtz <>
List: current-users
Date: 11/17/1996 17:49:52
On Sun, 17 Nov 1996 16:19:48 -0800, Don Lewis <> 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 <>, office:
Network/UNIX Specialist for Paranet, Inc.
Supercomputing Junkie, et al [MIME/NeXTmail accepted]
                    I speak for myself only.