Installing and Administering Internet Services

Chapter 10 323
Using rdist
Setting Up remsh
Setting Up remsh
rdist uses remsh as the mechanism for distributing files over the
network. In order to use rdist, you must set up remsh on each of the
remote hosts. Follow these steps:
1. On each of the remote hosts, create an entry for the master host in
the $HOME/.rhosts file of the user who will run rdist. For example,
if rdist will always be run by user root, create an entry for the
master host in root’s .rhosts file (/.rhosts) on each of the remote
hosts.
2. On each of the remote hosts, make sure following line is
uncommented in the /etc/inetd.conf file. (Make sure it is not
preceded by #.)
shell stream tcp nowait root /usr/lbin/remshd remshd
3. On each of the remote hosts, issue the following command to force
inetd to reread its configuration file:
/usr/sbin/inetd -c