Go to main content

Managing Serial Networks Using UUCP and PPP in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

UUCP Software

The UUCP software is automatically included when you run the Oracle Solaris installation program and select the entire distribution. Alternatively, you can add the UUCP software by using pkgadd. The UUCP programs can be divided into three categories: daemons, administrative programs, and user programs.

UUCP Daemons

The UUCP system has four daemons: uucico, uuxqt, uusched, and in.uucpd. These daemons handle UUCP file transfers and command executions. You can also run them manually from the shell, if necessary.

uucico

Selects the device that is used for the link, establishes the link to the remote computer, and performs the required login sequence and permission checks. Also, uucico transfers data files, executable files, and results from logs, and notifies the user by mail of transfer completions. uucico acts as the "login shell" for UUCP login accounts. When the local uucico daemon calls a remote system, it communicates directly with the remote uucico daemon during the session.

After all the required files have been created, uucp, uuto, and uux programs run the uucico daemon to contact the remote computer. uusched and Uutry all run uucico. See the uucico(8) man page for details.

uuxqt

Runs remote execution requests. This daemon searches the spool directory for executable files (always named X.file) that have been sent from a remote computer. When an X.file file is found, uuxqt opens it to get the list of data files that are required for the execution. uuxqt then checks to see if the required data files are available and accessible. If the files are available, uuxqt checks the Permissions file to verify that it has permission to run the requested command. The uuxqt daemon is run by the uudemon.hour shell script, which is started by cron. See the uuxqt(8) man page for details.

uusched

Schedules the queued work in the spool directory. uusched is initially run at boot time by the uudemon.hour shell script, which is started by cron. See the uusched(8) man page for details. Before starting the uucico daemon, uusched randomizes the order in which remote computers are called.

in.uucpd

Supports UUCP connections over networks. The inetd on the remote host invokes in.uucpd whenever a UUCP connection is established. uucpd then prompts for a login name. uucico on the calling host must respond with a login name. in.uucpd then prompts for a password, unless a password is not required. See the in.uucpd(8) man page for details.

UUCP Administrative Programs

Most UUCP administrative programs are in /usr/lib/uucp. Most basic database files are in /etc/uucp. The only exception is uulog, which is in /usr/bin. The home directory of the uucp login ID is /usr/lib/uucp. When running the administrative programs through su or login, use the uucp user ID. The user ID owns the programs and spooled data files.

uulog

Displays the contents of a specified computer's log files. Log files are created for each remote computer with which your system communicates. The log files record each use of uucp, uuto, and uux. See the uucp(1C) man page for details.

uucleanup

Cleans up the spool directory. uucleanup is normally run from the uudemon.cleanup shell script, which is started by cron. See the uucleanup(8) man page for details.

Uutry

Tests call-processing capabilities and does moderate debugging. Uutry invokes the uucico daemon to establish a communication link between your system and the remote computer that you specify. See the Uutry(8) man page for details.

uucheck

Checks for the presence of UUCP directories, programs, and support files. uucheck can also check certain parts of the /etc/uucp/Permissions file for obvious syntactic errors. See the uucheck(8) man page for details.

UUCP User Programs

The UUCP user programs are in /usr/bin. You do not need special permission to use these programs.

cu

Connects your system to a remote computer so that you can log in to both systems at the same time. cu enables you to transfer files or executable commands on either system without dropping the initial link. See the cu(1C) man page for details.

uucp

Lets you copy a file from one system to another system. uucp creates work files and data files, queues the job for transfer, and calls the uucico daemon, which in turn attempts to contact the remote computer. See the uucp(1C) man page for details.

uuto

Copies files from the local system to the public spool directory /var/spool/uucppublic/receive on the remote system. Unlike uucp, which lets you copy a file to any accessible directory on the remote system, uuto places the file in an appropriate spool directory and tells the remote user to pick the file up with uupick. See the uuto(1C) man page for details.

uupick

Retrieves files in /var/spool/uucppublic/receive when files are transferred to a computer by using uuto. See the uuto(1C) man page.

uux

Creates the work, data, and executable files that are needed to run commands on a remote system. See the uux(1C) man page for details.

uustat

Displays the status of requested transfers (uucp, uuto, or uux). uustat also provides a means of controlling queued transfers. See the uustat(1C) man page for details.