freebsd_amp_hwpstate/gnu/libexec/uucp/uucico/uucico.8

292 lines
6.9 KiB
Groff
Raw Normal View History

1999-08-27 23:37:10 +00:00
''' $FreeBSD$
.TH uucico 8 "Taylor UUCP 1.06"
1993-08-05 18:28:27 +00:00
.SH NAME
uucico \- UUCP file transfer daemon
.SH SYNOPSIS
.B uucico
[ options ]
.SH DESCRIPTION
The
.I uucico
daemon processes file transfer requests queued by
.I uucp
(1) and
.I uux
(1). It is started when
.I uucp
or
.I uux
is run (unless they are given the
.B \-r
option). It is also typically started periodically using
entries in the
.I crontab
table(s).
1994-05-07 18:14:43 +00:00
When invoked with
.B \-r1,
.B \-\-master,
.B \-s,
.B \-\-system,
1993-08-05 18:28:27 +00:00
or
1994-05-07 18:14:43 +00:00
.B \-S,
the daemon will place a call to a remote system, running in master
mode. Otherwise the daemon will start in slave mode, accepting a call
from a remote system. Typically a special login name will be set up
for UUCP which automatically invokes
1993-08-05 18:28:27 +00:00
.I uucico
when a call is made.
When
.I uucico
terminates, it invokes the
.I uuxqt
(8) daemon, unless the
.B \-q
1994-05-07 18:14:43 +00:00
or
.B \-\-nouuxqt
1993-08-05 18:28:27 +00:00
option is given;
.I uuxqt
(8) executes any work orders created by
.I uux
(1) on a remote system, and any work orders created locally which have
received remote files for which they were waiting.
If a call fails,
.I uucico
will normally refuse to retry the
call until a certain (configurable) amount of time
1994-05-07 18:14:43 +00:00
has passed. This may be overriden by the
.B -f,
.B --force,
or
1993-08-05 18:28:27 +00:00
.B -S
option.
The
1994-05-07 18:14:43 +00:00
.B \-l,
.B \-\-prompt,
.B \-e,
1993-08-05 18:28:27 +00:00
or
1994-05-07 18:14:43 +00:00
.B \-\-loop
options may be used to force
1993-08-05 18:28:27 +00:00
.I uucico
to produce its own prompts of "login: " and "Password:". When another
1994-05-07 18:14:43 +00:00
daemon calls in, it will see these prompts and log in as usual. The
login name and password will normally be checked against a separate
list kept specially for
1993-08-05 18:28:27 +00:00
.I uucico
rather than the
.I /etc/passwd
1994-05-07 18:14:43 +00:00
file; it is possible on some systems to direct
.I uucico
to use the
.I /etc/passwd
1993-08-05 18:28:27 +00:00
file. The
.B \-l
1994-05-07 18:14:43 +00:00
or
.B \--prompt
option will prompt once and then exit; in this mode the UUCP
administrator or the superuser may use the
.B \-u
or
.B \--login
option to force a login name, in which case
.I uucico
will not prompt for one.
The
1993-08-05 18:28:27 +00:00
.B \-e
1994-05-07 18:14:43 +00:00
or
.B \--loop
1993-08-05 18:28:27 +00:00
option will prompt again after the first session is over; in this mode
.I uucico
will permanently control a port.
If
.I uucico
receives a SIGQUIT, SIGTERM or SIGPIPE signal, it will cleanly abort
any current conversation with a remote system and exit. If it
receives a SIGHUP signal it will abort any current conversation, but
will continue to place calls to (if invoked with
1994-05-07 18:14:43 +00:00
.B \-r1
or
.B \-\-master)
1993-08-05 18:28:27 +00:00
and accept calls from (if invoked with
1994-05-07 18:14:43 +00:00
.B \-e
or
.B \-\-loop)
1993-08-05 18:28:27 +00:00
other systems. If it receives a
SIGINT signal it will finish the current conversation, but will not
place or accept any more calls.
.SH OPTIONS
The following options may be given to
.I uucico.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-r1, \-\-master
1993-08-05 18:28:27 +00:00
Start in master mode (call out to a system); implied by
1994-05-07 18:14:43 +00:00
.B \-s,
.B \-\-system,
1993-08-05 18:28:27 +00:00
or
.B \-S.
If no system is specified, call any system for which work is waiting
to be done.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-r0, \-\-slave
1993-08-05 18:28:27 +00:00
Start in slave mode. This is the default.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-s system, \-\-system system
1993-08-05 18:28:27 +00:00
Call the named system.
.TP 5
.B \-S system
1994-05-07 18:14:43 +00:00
Call the named system, ignoring any required wait. This is equivalent
to
.B \-s system \-f.
1993-08-05 18:28:27 +00:00
.TP 5
1994-05-07 18:14:43 +00:00
.B \-f, \-\-force
1993-08-05 18:28:27 +00:00
Ignore any required wait for any systems to be called.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-l, \-\-prompt
1993-08-05 18:28:27 +00:00
Prompt for login name and password using "login: " and "Password:".
This allows
.I uucico
to be easily run from
.I inetd
(8). The login name and password are checked against the UUCP
1994-05-07 18:14:43 +00:00
password file, which probably has no connection to the file
1993-08-05 18:28:27 +00:00
.I /etc/passwd.
1994-05-07 18:14:43 +00:00
The
.B \-\-login
option may be used to force a login name, in which cause
.I uucico
will only prompt for a password.
1993-08-05 18:28:27 +00:00
.TP 5
1994-05-07 18:14:43 +00:00
.B \-p port, \-\-port port
Specify a port to call out on or to listen to.
1993-08-05 18:28:27 +00:00
.TP 5
1994-05-07 18:14:43 +00:00
.B \-e, \-\-loop
1993-08-05 18:28:27 +00:00
Enter endless loop of login/password prompts and slave mode daemon
execution. The program will not stop by itself; you must use
.I kill
(1) to shut it down.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-w, \-\-wait
1993-08-05 18:28:27 +00:00
After calling out (to a particular system when
1994-05-07 18:14:43 +00:00
.B \-s,
.B \-\-system,
1993-08-05 18:28:27 +00:00
or
.B \-S
1994-05-07 18:14:43 +00:00
is specifed, or to all systems which have work when just
1993-08-05 18:28:27 +00:00
.B \-r1
1994-05-07 18:14:43 +00:00
or
.B \-\-master
is specifed), begin an endless loop as with
.B \-\-loop.
1993-08-05 18:28:27 +00:00
.TP 5
1994-05-07 18:14:43 +00:00
.B \-q, \-\-nouuxqt
1993-08-05 18:28:27 +00:00
Do not start the
.I uuxqt
(8) daemon when finished.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-c, \-\-quiet
1993-08-05 18:28:27 +00:00
If no calls are permitted at this time, then don't make the call, but
also do not put an error message in the log file and do not update the
system status (as reported by
.I uustat
(1)). This can be convenient for automated polling scripts, which may
want to simply attempt to call every system rather than worry about
1994-05-07 18:14:43 +00:00
which particular systems may be called at the moment. This option
also suppresses the log message indicating that there is no work to be
done.
1993-08-05 18:28:27 +00:00
.TP 5
1994-05-07 18:14:43 +00:00
.B \-C, \-\-ifwork
Only call the system named by
.B \-s,
.B \-\-system
or
.B \-S
if there is work for that system.
.TP 5
.B \-D, \-\-nodetach
1993-08-05 18:28:27 +00:00
Do not detach from the controlling terminal. Normally
.I uucico
detaches from the terminal before each call out to another system and
before invoking
.I uuxqt.
This option prevents this.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-u name, \-\-login name
Set the login name to use instead of that of the invoking user. This
option may only be used by the UUCP administrator or the superuser.
If used with
.B \-\-prompt,
this will cause
.I uucico
to prompt only for the password, not the login name.
.TP 5
.B \-z, \-\-try-next
If a call fails after the remote system is reached, try the next
alternate rather than simply exiting.
.TP 5
.B \-i type, \-\-stdin type
Set the type of port to use when using standard input. The only
support port type is TLI, and this is only available on machines which
support the TLI networking interface. Specifying
.B \-iTLI
causes
.I uucico
to use TLI calls to perform I/O.
.TP 5
.B \-x type, \-X type, \-\-debug type
1993-08-05 18:28:27 +00:00
Turn on particular debugging types. The following types are
recognized: abnormal, chat, handshake, uucp-proto, proto, port,
config, spooldir, execute, incoming, outgoing.
Multiple types may be given, separated by commas, and the
1994-05-07 18:14:43 +00:00
.B \-\-debug
1993-08-05 18:28:27 +00:00
option may appear multiple times. A number may also be given, which
will turn on that many types from the foregoing list; for example,
1994-05-07 18:14:43 +00:00
.B \-\-debug 2
1993-08-05 18:28:27 +00:00
is equivalent to
1994-05-07 18:14:43 +00:00
.B \-\-debug abnormal,chat.
1993-08-05 18:28:27 +00:00
The debugging output is sent to the debugging file, usually one of
/var/spool/uucp/Debug, /usr/spool/uucp/DEBUG, or
/usr/spool/uucp/.Admin/audit.local.
1993-08-05 18:28:27 +00:00
.TP 5
1994-05-07 18:14:43 +00:00
.B \-I file, \-\-config file
1993-08-05 18:28:27 +00:00
Set configuration file to use. This option may not be available,
depending upon how
.I uucico
was compiled.
.TP 5
1994-05-07 18:14:43 +00:00
.B \-v, \-\-version
Report version information and exit.
.TP 5
.B \-\-help
Print a help message and exit.
1993-08-05 18:28:27 +00:00
.SH FILES
The file names may be changed at compilation time or by the
configuration file, so these are only approximations.
.br
/etc/uucp/config - Configuration file.
1993-08-05 18:28:27 +00:00
.br
/etc/uucp/passwd - Default UUCP password file.
1993-08-05 18:28:27 +00:00
.br
/var/spool/uucp -
1993-08-05 18:28:27 +00:00
UUCP spool directory.
.br
/var/spool/uucp/Log -
1993-08-05 18:28:27 +00:00
UUCP log file.
.br
/var/spool/uucppublic -
1993-08-05 18:28:27 +00:00
Default UUCP public directory.
.br
/var/spool/uucp/Debug -
1993-08-05 18:28:27 +00:00
Debugging file.
.SH SEE ALSO
kill(1), uucp(1), uux(1), uustat(1), uuxqt(8)
.SH AUTHOR
Ian Lance Taylor
1994-05-07 18:14:43 +00:00
<ian@airs.com>