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 authenticates by reading the username and password (unencrypted) from the socket.
Same as rsh: sends unencrypted information over the network, including passwords.
rexec uses well-known port 512.