Chapter 6. UUCP Configuration

SX.25 provides a mechanism for using the standard UNIX uucp, cu, and associated commands over the PAD program by using the xty device driver. The xty device behaves like a tty device that supports both blocking and non-blocking opens of the same logical device. It can support gettys for incoming calls that make a blocking open on the xty device.

This chapter provides information on these UUCP topics:

Configuring the XTY System

SX.25 supports a STREAMS interface called the XYT_OUT system, which uses the xty STREAMS module only for outgoing uucp/cu calls. This type of system does not require getty processes. Incoming calls are handled directly by the PAD daemon that executes the login process.

Files Associated with UUCP

A number of files need modification before uucp/cu type calls can be made over the xty driver. These files and their uses are described below. All these files can be found in the directory /usr/lib/uucp. For detailed information on individual files, refer to IRIX Admin: Networking and Mail.

Devices 

Specifies which xty devices are available for outgoing calls.

Dialcodes 

Specifies a number of host-to-SX.25 address mappings.

Permissions 

Specifies permissions that remote users have when sending files, whether local users can request files, and which commands users are allowed to use.


Caution: System security can be compromised if Permissions is incorrectly configured.


Dialers 

Specifies the command that uucp issues to the pad program to make a uucp call.

Systems 

Specifies the hosts that uucp knows about. It includes login names and character sequences that uucp is to send and expects to receive as responses.

These files would have the format presented below for a typical UUCP-over-X.25 configuration.

Devices

Typically, one line is entered for each outgoing xty device. Lines like the following should be added to the Devices file:

Pad xty80 - 9600 pad
Pad xty81 - 9600 pad
Pad xty82 - 9600 pad
Pad xty83 - 9600 pad

Dialcodes

The new entries in the Dialcodes file specify a name to X.25 address mapping. This name is used in the Permissions and Systems files. Lines like the following should be added to the Dialcodes file:

hostname1 A.1234567891
hostname2 A.1234567892

Permissions

Lines like the following should be added to the Permissions file:

MACHINE=hostname1:hostname2 \
REQUEST=yes \
SENDFILES=yes \
READ=/ WRITE=/ \
COMMANDS=ALL
LOGNAME=nuucp \
REQUEST=yes \
SENDFILES=yes \
READ=/ WRITE=/ \
COMMANDS=ALL


Note: These permissions let users do almost anything, so you may need to be more restrictive. For more detail, refer to IRIX Admin: Networking and Mail.


Dialers

The added entry in this file tells uucp the command to issue to the pad program to allow outgoing calls. Add the following line to the Dialers file:

pad "" "" CALL\s\T

Systems

Add lines like the following to the Systems file:

hostname1 Any Pad 9600 hostname1 "" \\r\\d\\r in:--in: nuucp
hostname2 Any Pad 9600 hostname2 "" \\r\\d\\r in:--in: nuucp