You need to modify a number of files before uucp/cu calls can be made over the xty driver. All of the files are in the directory /etc/uucp. For more detail, refer to the SunOS 5.x Administering TCP/IP and PPP guide. The files you need to modify are:
Devices Specifies which xty devices are available for outgoing calls.
Dialcodes Specifies a number of host to X.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. Read the section in the SunOS 5.x Administering TCP/IP and PPP guide that tells you how to configure the permissions. Incorrectly configuring the permissions can compromise system security.
Dialers Specifies the command that uucp issues to the PAD to make a uucp call.
Systems Specifies the hosts that uucp knows about. It includes the login names and character sequences that uucp sends and expects to receive.
The xty device numbers should match those generated by kernelcreate, and should number from one upwards. Add lines like the following to the file:
Pad xty1 - Any pad Pad xty2 - Any pad |
Add entries to the Dialcodes file to specify name to X.25 address mapping. The names you specify here are used in the Permissions and Systems files. Add lines like the following to the file:
hostname1 x.25-address hostname2 x.25-address |
Enter the X.25 address in one of the following formats:
link number.x121 address (for example 0.23433140831)
link number.MAC address (for example 1.1234567890AB7E)
Add lines like the following to this file:
MACHINE=hostname1:hostname2 \ REQUEST=yes \ SENDFILES=yes \ READ=/ WRITE=/ \ COMMANDS=ALL LOGNAME=nuucp \ REQUEST=yes \ SENDFILES=yes \ READ=/ WRITE=/ \ COMMANDS=ALL |
It is standard practice to use nuucp as the LOGNAME, but this is not mandatory.
You may want to set more restrictive permissions than those shown above. For more detail, refer to the SunOS 5.x Administering TCP/IP and PPP.
You need to tell uucp the command to issue to the PAD to allow outgoing calls. Add the following line to this file:
pad "" "" P_ZERO "" CALL\040\T |
You need to add lines like this to the Systems file:
systemname Any Pad Any hostname in:--in: logname word: password |
The hostname is the hostname you mapped to an address in the Dialcodes file. Alternatively, enter the X.25 address here.
Use the LOGNAME that you set in the Permissions file. In most cases this is nuucp.