Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Rexec has the
same kind of functionality that rsh has : you can execute shell commands
on a remote computer. The main difference is that rexecd authenticate by
reading the username and password (unencrypted) from the socket. Same as
rsh: sends unencrypted information over the network. Even worse, because
the password is sent. The remote shell (rsh) is a command line computer
program that can execute shell commands as another user, and on another
computer across a computer network. The remote system to which rsh
connects runs the rshd daemon. The rshd daemon typically uses the
well-known Transmission Control Protocol (TCP) port number 514. Rsh
originated as part of the BSD Unix operating system, along with rcp, as
part of the rlogin package on 4.2BSD in 1983. rsh has since been ported
to other operating systems.