Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!csd4.milw.wisc.edu!uxc!uxc.cso.uiuc.edu!uxg.cso.uiuc.edu!uicsrd.csrd.uiuc.edu!kai From: kai@uicsrd.csrd.uiuc.edu Newsgroups: comp.unix.wizards Subject: Re: Restricted shell (was Re: rsh e Message-ID: <43200060@uicsrd.csrd.uiuc.edu> Date: 29 Dec 88 04:32:00 GMT References: <278@dcs.UUCP> Lines: 16 Nf-ID: #R:dcs.UUCP:278:uicsrd.csrd.uiuc.edu:43200060:000:522 Nf-From: uicsrd.csrd.uiuc.edu!kai Dec 28 22:32:00 1988 In responce to the original question, which was how to customize the environment on the remote machine using the BSD remote shell (rsh) command, if you use C shell, your remote .cshrc is sourced, but not your .login file. Setup what you want in your remote .cshrc file, for example: # ~/.cshrc if ($?prompt) then # setup for interactive shell alias bye logout else # for non-interactive shells, like rsh set path = ( /usr/local/bin /usr/ucb /bin /usr/bin . ) endif Patrick Wolfe (pat@kai.com, kailand!pat)