Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!csd4.milw.wisc.edu!uxc!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: rsh environment Keywords: no /etc/profile sourced? Message-ID: <15215@mimsy.UUCP> Date: 31 Dec 88 06:50:17 GMT References: <1276@uwbull.uwbln.UUCP> <955@riddle.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 18 In article <955@riddle.UUCP> andrew@riddle.UUCP (Andrew Beattie) writes: >DID YOU BSD PEOPLE HERE THAT ??? > >... On our Xenix boxes with Excelan the remote shell has $SHELL set up >from passwd so the fix is to use csh and set up the environment in >$HOME/.cshrc .... Where do you think Excelan got the idea? 4BSD's `rsh' remote shell (not restricted shell) runs the login user's shell. If that shell is a `csh', it reads ~/.cshrc under the usual restrictions for `csh -c' commands. It *would* be nice to have an `rsh' that propagated the environment. I resort to an `sh' script that does this for $DISPLAY for X11. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris