[net.unix] rsh

dave@smaug.UUCP (Dave Cornutt) (06/20/86)

Summary: there are two different things called "rsh"
Line eater: yes

Whoa, guys.  I have been following the ongoing discussion about sh and
csh, and I have noticed various people making references to rsh.
Trouble is, these people aren't identifying what system they are using,
and the uninitiated are probably quite confused by now.

In the UN*X world, there are two different things named "rsh".  One is
the S-III and S-V "restricted" shell; this program is most commonly used
as the login shell for accounts whose functions have to be restricted.
It prohibits things like cd, altering of the searchpath, and executing
programs by full pathname.  The other "rsh" is the Berkeley remote
shell; it allows someone logged in on one machine to run a command on
another machine without having to log in on the second machine.  Rsh
starts a shell on the second machine, connects its standard in/out/err
with the user's terminal, and runs the specified command.  It uses
whatever shell (Bourne, C, Korn, etc.) is specified in the user's
password file entry as his/her login shell.

When talking about various utilities, if you are not sure that it is
universal, please identify what version of UN*X you are using so that we
can make sure we're comparing apples with apples. 

---
Arthur shone his flashlight on Prak's face.  "We thought," he said,
"that you were meant to be telling the Truth, the Whole Truth, and
Nothing But The Truth." "Oh, that," said Prak, "yeah, I was.  I
finished.  There's not nearly as much of it as people imagine."

Dave Cornutt, Gould Computer Systems, Ft. Lauderdale, FL
UUCP:  ...!sun!gould!dcornutt or ...!ucf-cs!novavax!houligan!dcornutt
ARPA: wait a minute, I've almost got it...

"The opinions expressed herein are not necessarily those of my employer,
not necessarily mine, and probably not necessary."