This rlogin daemon does access control and logging in the style of the
tcp wrapper (log_tcp) package. It closes up a few holes.

By default, the rlogind logs user@host with priority daemon.info (see
below for how to change this). You may have to adjust the syslog.conf
file to make the logs visible. Do not forget to "kill -HUP" the syslogd
if you change its setup.

There are two ways to build the daemon, depending on the type of login
program that rlogind will have to talk with.

(1) If you are going to use rlogind with a /usr/bin/login version that
    supports the -r option (this is the most common case), build with:

	make LOG_TCP=directory_with_libwrap.a system_type

    where ``system_type'' is one of sunos4, ultrix4 or sunos5.

    This produces an rlogind that relies on rlogin authentication code
    that is built into the /usr/bin/login program. The rlogind -l
    option (ignore user .rhosts files) is passed on to the login
    program. If you are going to use -l, you will have to install a
    login that understands the option (for example, the one in ../login).

(2) This variant can introduce security holes with some System V
    versions (some port monitors convert their stdin to an argument
    vector to /usr/bin/login). SunOS 5.0 and later seem to be OK.

    If you are going to use the rlogind with a login(1) version that
    supports the -f option (the one in ../login supports both -f and
    -r), build with:

	make LOGIN=-DNEW_LOGIN LOG_TCP=directory_with_libwrap.a system_type

    where ``system_type'' is one of sunos4, ultrix4 or sunos5.

    The result is an rlogind that does the rlogin authentication
    itself.  By default, the rlogind will not accept wildcards in
    hosts.equiv and rhosts files, but will complain instead. If you
    want '+' wildcards, see below for how to turn them on.

Other macros of interest (these are defined in the Makefile):

FACILITY

    The syslogging class. Default is LOG_DAEMON.
