Here is a working rshd.!
You can now do rcp, rsh and the works remotely to your linux machine.
rlogind soon to come.

You MUST have the following line in /etc/inet/inetd.conf

shell	stream	tcp	nowait	root	/usr/etc/inet/rshd	rshd

and the following in /etc/inet/services

shell		514/tcp		cmd		# no passwords used

To have pre-authentication make SURE that you have qualified the remote host
as hostname.domainame in your ${HOME}/.rhosts or /etc/hosts.equiv file.

I compiled the shared binary with jump-4.2 (testing) libraries. Thus I did
not need syslog.o. I have included one if you wanna build it yourself. This
also means that the shared binary will not work (I think) unless you have
the jump-4.2 (or greater) revision of the libraries.

For this reason there is also a rshd.static binary.

Copy the appropriate one to /etc/inet, restart inetd (HUP it) and away yo go.

Mitch.
(mitchum.dsouza@mrc-apu.cam.ac.uk)
