There's no need to have manuals stored on every machine. Sources in this
directory are used to build a client man and apropos program which use the
man program on a server machine. This builds on the rcmd(3) call instead of
defining another service. Here's what you need to do.

a) on your client machines build and install the man program (see Makefile);
   and add an entry for "manhost" into your /etc/hosts and/or bind files.

b) on your server (ie. "manhost") machine add a user call "man" into your
   password file with home directory /usr/man (shell can be csh or sh). Clients
   not in /etc/hosts.equiv need to be added to /usr/man/.rhosts with lines of
   the form "<host-name> man".

c) although not required you can remove /usr/man on your clients, and chown
   -R man /usr/man on your server.

The names "manhost" and "man" are "#defines" in my code, you can use something
else if you like.

The client man program tells the rshd on manhost that a local user called "man"
wants the remote user called "man" to execute some man or apropos command. This
relies then on the rshd access control system.  Hosts in the server (ie manhost)
/etc/hosts.equiv file will be able to use the server without doing anything
else. Hosts not in manhost's /etc/hosts.equiv should have an entry put into
/usr/man/.rhosts for them (see rshd(8) for more details).

Reg Quinton <reggers@julian.uwo.ca>; 30-Sept-88
