Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!rpi!rpics!kyriazis From: kyriazis@rpics (George Kyriazis) Newsgroups: comp.unix.wizards Subject: Re: rsh environment Keywords: no /etc/profile sourced? Message-ID: <49@rpi.edu> Date: 31 Dec 88 20:17:00 GMT References: <1276@uwbull.uwbln.UUCP> <955@riddle.UUCP> <15215@mimsy.UUCP> Sender: usenet@rpi.edu Reply-To: kyriazis@turing.cs.rpi.edu (George Kyriazis) Organization: RPI CS Dept. Lines: 18 In article <15215@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: > >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. > then can you tell me why when I do 'rsh localhost ph' where ph is my alias for 'ps aux | head' it says 'ph: Command not found' ?? I set up my aliases in my .cshrc. Also when I do rsh localhost alias it doesn't show anything. If I do rsh localhost printenv it just shows 4 shell variabls and not the tons I usually have. Any ideas? George Kyriazis kyriazis@turing.cs.rpi.edu kyriazis@ss0.cicg.rpi.edu ------------------------------