Path: utzoo!attcan!uunet!husc6!rutgers!att!ulysses!andante!alice!debra From: debra@alice.UUCP (Paul De Bra) Newsgroups: comp.unix.wizards Subject: Re: rsh environment Message-ID: <8600@alice.UUCP> Date: 24 Dec 88 19:19:17 GMT References: <1276@uwbull.uwbln.UUCP> <14640@cisunx.UUCP> Reply-To: debra@alice.UUCP () Organization: AT&T, Bell Labs Lines: 26 Keywords: In article <14640@cisunx.UUCP> jcbst3@unix.cis.pittsburgh.edu (James C. Benz) writes: >In article <1276@uwbull.uwbln.UUCP> ckl@uwbln.UUCP (Christoph Kuenkel) writes: >>Is there any way to alter the default environment setting used when >>rsh (the bsd remote shell) executes commands? >> >>our rsh (bull sps9 with spix os) sets up an default environment >> >HUH? (cr,h,...)ackers anyone? Isn't rsh RESTRICTED shell? Anyway, >why not just set these in .profile using standard UNIX syntax ala >HOME=/usr/mydirectory;export HOME >That is, if you have permissions on .profile. >Or is YOUR UNIX *different* than mine (AT&T)? Way back in the old days before networking /bin/rsh was a "restricted" shell. Some more recent versions of Unix may still have the restricted shell for historic reasons. I don't know about System V, but BSD and 9Vr2 have abandoned the restricted shell in favor of a "remote" shell, also called rsh. (But at least on 9Vr2 it is not /bin/rsh but /usr/bin/rsh.) Paul. -- ------------------------------------------------------ |debra@research.att.com | uunet!research!debra | ------------------------------------------------------