BNU setup procedures

Configuring UUCP over TCP/IP

You can configure UUCP to use TCP as its transport protocol. This is usually done to transfer mail to and from remote systems that do not support SMTP.

To configure UUCP to use a CS dialer:

  1. Log in as root on the system on which you want to use commands such as uucp(1bnu) or cu(1bnu).

  2. Uncomment the following line in the /etc/uucp/Devices file on the local system:
    #CS  - - - CS
    so that it reads:
    CS  - - - CS

  3. To enable the use of a UUCP command such as uucp(1bnu) to transfer file to and from a remote system, add the following line to the /etc/uucp/Systems file:
    remotesys Any CS,e - -,listen:10103
    This will try to establish a connection with the listener on the remote system, remotesys, using the service number 10103.

    NOTE: If you want your UnixWare 7 system to communicate with the network port listener on a non-UnixWare system, you may need to change this service number to match that used by the remote system.

    The name remotesys must be resolvable to an IP address.

  4. If the remote system is a UnixWare system, modify the Devices(4bnu) and Systems(4bnu) files on that system as described in steps 2 and 3. In this case, the name remotesys will be the name of the local system. This will allow the remote system to perform a uucico(1Mbnu) handshake with the local system.

  5. Modify the Permissions(4bnu) file on both the local and remote systems to allow the level of access that you require. The default entry in the Permissions file is:
    which is equivalent to:
    LOGNAME=nuucp \
            MACHINE=other \
            REQUEST=no \
            SENDFILES=call \
            READ=/var/spool/uucppublic \
            WRITE=/var/spool/uucppublic \
            AUTH=no \
    The following entries would permit extremely liberal access by nuucp, but only from remotesys:
    LOGNAME=nuucp \
            MACHINE=remotesys \
            REQUEST=yes \
            SENDFILES=yes \
            READ=/ \
            WRITE=/ \

    MACHINE=other \ REQUEST=no \ SENDFILES=call \ READ=/var/spool/uucppublic \ WRITE=/var/spool/uucppublic \ COMMANDS=rmail

    In this example, the LOGNAME=nuucp entry is only suitable for initial testing. You should subsequently restrict the settings for COMMANDS, READ, REQUEST, SENDFILES, and WRITE to close any potential security holes.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004