old-www/LDP/nag2/x-087-2-uucp.html

501 lines
11 KiB
HTML

<HTML
><HEAD
><TITLE
>ManagingTaylor UUCP</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
REL="HOME"
TITLE="Linux Network Administrators Guide"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="NetWare Server Emulation"
HREF="x-087-2-ipx.ncpfs.server.html"><LINK
REL="NEXT"
TITLE="UUCP Transfers and Remote Execution"
HREF="x-087-2-uucp.intro.grades.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Network Administrators Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x-087-2-ipx.ncpfs.server.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x-087-2-uucp.intro.grades.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="X-087-2-UUCP"
>Chapter 16. ManagingTaylor UUCP</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>16.1. <A
HREF="x-087-2-uucp.intro.grades.html"
>UUCP Transfers and Remote Execution</A
></DT
><DD
><DL
><DT
>16.1.1. <A
HREF="x-087-2-uucp.intro.grades.html#X-087-2-UUCICO.CONNECT"
>The Inner Workings of uucico</A
></DT
><DT
>16.1.2. <A
HREF="x-087-2-uucp.intro.grades.html#AEN12640"
>uucico Command-line Options</A
></DT
></DL
></DD
><DT
>16.2. <A
HREF="x-087-2-uucp.config.files.html"
>UUCP Configuration Files</A
></DT
><DD
><DL
><DT
>16.2.1. <A
HREF="x-087-2-uucp.config.files.html#AEN12735"
>A Gentle Introduction to Taylor UUCP</A
></DT
><DT
>16.2.2. <A
HREF="x-087-2-uucp.config.files.html#X-087-2-UUCP.STARTING.PARAMETERS"
>What UUCP Needs to Know</A
></DT
><DT
>16.2.3. <A
HREF="x-087-2-uucp.config.files.html#X-087-2-UUCP.STARTING.SITENAME"
>Site Naming</A
></DT
><DT
>16.2.4. <A
HREF="x-087-2-uucp.config.files.html#AEN12885"
>Taylor Configuration Files</A
></DT
><DT
>16.2.5. <A
HREF="x-087-2-uucp.config.files.html#AEN12944"
>General Configuration Options Using the config File</A
></DT
><DT
>16.2.6. <A
HREF="x-087-2-uucp.config.files.html#X-087-2-UUCP.SYSTEMS.FILE"
>How to Tell UUCP About Other Systems Using the sys File</A
></DT
><DT
>16.2.7. <A
HREF="x-087-2-uucp.config.files.html#AEN13217"
>Identifying Available Devices Through the port File</A
></DT
><DT
>16.2.8. <A
HREF="x-087-2-uucp.config.files.html#AEN13267"
>How to Dial a Number Using the dial File</A
></DT
><DT
>16.2.9. <A
HREF="x-087-2-uucp.config.files.html#AEN13312"
>UUCP Over TCP</A
></DT
><DT
>16.2.10. <A
HREF="x-087-2-uucp.config.files.html#AEN13335"
>Using a Direct Connection</A
></DT
></DL
></DD
><DT
>16.3. <A
HREF="x-087-2-uucp.permissions.html"
>Controlling Access to UUCP Features</A
></DT
><DD
><DL
><DT
>16.3.1. <A
HREF="x-087-2-uucp.permissions.html#AEN13362"
>Command Execution</A
></DT
><DT
>16.3.2. <A
HREF="x-087-2-uucp.permissions.html#AEN13402"
>File Transfers</A
></DT
><DT
>16.3.3. <A
HREF="x-087-2-uucp.permissions.html#AEN13444"
>Forwarding</A
></DT
></DL
></DD
><DT
>16.4. <A
HREF="x-087-2-uucp.dialin.html"
>Setting Up Your System for Dialing In</A
></DT
><DD
><DL
><DT
>16.4.1. <A
HREF="x-087-2-uucp.dialin.html#X-087-2-UUCP.DIALIN.ACCOUNTS"
>Providing UUCP Accounts</A
></DT
><DT
>16.4.2. <A
HREF="x-087-2-uucp.dialin.html#X-087-2-UUCP.SECURITY.CALLED-LOGIN"
>Protecting Yourself Against Swindlers</A
></DT
><DT
>16.4.3. <A
HREF="x-087-2-uucp.dialin.html#AEN13578"
>Be Paranoid: Call Sequence Checks</A
></DT
><DT
>16.4.4. <A
HREF="x-087-2-uucp.dialin.html#AEN13611"
>Anonymous UUCP</A
></DT
></DL
></DD
><DT
>16.5. <A
HREF="x-087-2-uucp.protocols.html"
>UUCP Low-Level Protocols</A
></DT
><DD
><DL
><DT
>16.5.1. <A
HREF="x-087-2-uucp.protocols.html#AEN13653"
>Protocol Overview</A
></DT
><DT
>16.5.2. <A
HREF="x-087-2-uucp.protocols.html#AEN13708"
>Tuning the Transmission Protocol</A
></DT
><DT
>16.5.3. <A
HREF="x-087-2-uucp.protocols.html#AEN13723"
>Selecting Specific Protocols</A
></DT
></DL
></DD
><DT
>16.6. <A
HREF="x-087-2-uucp.misc.faq.html"
>Troubleshooting</A
></DT
><DD
><DL
><DT
>16.6.1. <A
HREF="x-087-2-uucp.misc.faq.html#AEN13783"
>uucico Keeps Saying &#8220;Wrong Time to Call&#8221;</A
></DT
><DT
>16.6.2. <A
HREF="x-087-2-uucp.misc.faq.html#AEN13789"
>uucico Complains That the Site Is Already Locked</A
></DT
><DT
>16.6.3. <A
HREF="x-087-2-uucp.misc.faq.html#AEN13797"
>You Can Connect to the Remote Site, but the Chat Script Fails</A
></DT
><DT
>16.6.4. <A
HREF="x-087-2-uucp.misc.faq.html#AEN13800"
>Your Modem Does Not Dial</A
></DT
><DT
>16.6.5. <A
HREF="x-087-2-uucp.misc.faq.html#AEN13806"
>Your Modem Tries to Dial but Doesn't Get Out</A
></DT
><DT
>16.6.6. <A
HREF="x-087-2-uucp.misc.faq.html#AEN13809"
>Login Succeeds, but the Handshake Fails</A
></DT
></DL
></DD
><DT
>16.7. <A
HREF="x13819.html"
>Log Files and Debugging</A
></DT
></DL
></DIV
><P
>UUCP was designed in the late seventies by Mike Lesk at AT&#38;T Bell
Laboratories to provide a simple dialup network over public telephone
lines. Despite the popularity of dialup PPP and SLIP connections to the
Internet, many people who want to have email and Usenet News on their home
machine still use UUCP because it is often cheaper, especially in countries
where Internet users have to pay by the minute for local telephone calls, or
where they do not have a local ISP and must pay long distance toll rates to
connect. Although there are many implementations of UUCP running on a wide
variety of hardware platforms and operating systems, overall, they are highly
compatible.</P
><P
>However, as with most software that has somehow become &#8220;standard&#8221;
over the years, there is no UUCP that one would call <I
CLASS="EMPHASIS"
>the</I
>
UUCP. It has undergone a steady evolution since the first version was
implemented in 1976. Currently, there are two major species that differ
mainly in their hardware support and configuration. Of these two,
various implementations exist, each varying slightly from its siblings.</P
><P
>One species is known as Version 2 UUCP, which dates back to a 1977
implementation by Mike Lesk, David A. Novitz, and Greg Chesson. Although it
is fairly old, it is still frequently used. Recent implementations of
Version 2 provide much of the comfort that the newer UUCP species do.</P
><P
>The second species was developed in 1983 and is commonly referred to
as BNU (Basic Networking Utilities) or HoneyDanBer UUCP. The latter
name is derived from the authors' names (P. Honeyman, D. A. Novitz,
and B. E. Redman) and is often shortened further to HDB, which is the
term we'll use in this chapter. HDB was conceived to eliminate some of
Version 2 UUCP's deficiencies. For example, new transfer protocols
were added, and the spool directory was split so that now there is one
directory for each site with which you have UUCP traffic.</P
><P
>&#13;The implementation of UUCP currently distributed with Linux is Taylor
UUCP 1.06, which is the version this
chapter is based upon.<A
NAME="X-087-2-FNUU01"
HREF="#FTN.X-087-2-FNUU01"
>[1]</A
> Taylor UUCP Version 1.06 was released in August 1995.
Apart from traditional configuration files, Taylor UUCP can also be compiled
to understand the newstyle&#8212;a.k.a. Taylor&#8212;configuration files.</P
><P
>Taylor UUCP is usually compiled for HDB compatibility, the Taylor
configuration scheme, or both. Because the Taylor scheme is much more
flexible and probably easier to understand than the often obscure HDB
configuration files, we will describe the Taylor scheme below.</P
><P
>This chapter is not designed to exhaustively describe the command-line
options for the UUCP commands and what they do, but to give you an
introduction to how to set up a working UUCP node. The first section gives
a gentle introduction about how UUCP implements remote execution and file
transfers. If you are not entirely new to UUCP, you might want to skip to
the section <A
HREF="x-087-2-uucp.config.files.html"
>Section 16.2</A
>&#8221; later in this
chapter, which explains the various files used to set up UUCP.</P
><P
>We will, however, assume that you are familiar with the user programs of
the UUCP suite, <B
CLASS="COMMAND"
>uucp</B
> and <B
CLASS="COMMAND"
>uux</B
>.
For a description, refer to the online manual pages.</P
><P
>&#13;Besides the publicly accessible programs <B
CLASS="COMMAND"
>uucp</B
> and
<B
CLASS="COMMAND"
>uux</B
>, the UUCP suite contains a number of commands used
for administrative purposes only. They are used to monitor UUCP traffic
across your node, remove old log files, or compile statistics. None of these
will be described here because they are peripheral to the main tasks of UUCP.
Besides, they're well documented and fairly easy to understand; refer to
the manual pages for more information. However, there
is a third category, which comprise the actual UUCP
&#8220;work horses.&#8221; They are called <B
CLASS="COMMAND"
>uucico</B
>
(where <I
CLASS="EMPHASIS"
>cico</I
> stands for copy-in copy-out), and
<B
CLASS="COMMAND"
>uuxqt</B
>, which executes jobs sent from remote systems.
We concentrate on these two important programs in this chapter.</P
><P
>If you're not satisfied with our coverage of these topics, you should read
the documentation that comes with the UUCP package. This is a set of
Texinfo files that describe the setup using the Taylor configuration
scheme. You can convert the Texinfo files into a <B
CLASS="COMMAND"
>dvi</B
> file
using the <B
CLASS="COMMAND"
>texi2dvi</B
> (found in the Texinfo package in your
distribution) and view the <B
CLASS="COMMAND"
>dvi</B
> file using the
<B
CLASS="COMMAND"
>xdvi</B
> command.</P
><P
>&#13;Guylhem Aznar's UUCP-HOWTO is another good source for information about UUCP
in a Linux environment. It is available at any Linux Documentation
Project mirror and is posted regularly to
<SPAN
CLASS="SYSTEMITEM"
>comp.os.linux.answers</SPAN
>.</P
><P
>
There's also a newsgroup for the discussion of UUCP called <SPAN
CLASS="SYSTEMITEM"
>comp.mail.uucp</SPAN
>. If you have questions
specific to Taylor UUCP, you may be better off asking them there,
rather than on the <SPAN
CLASS="SYSTEMITEM"
>comp.os.linux.*</SPAN
> groups.</P
></DIV
><H3
CLASS="FOOTNOTES"
>Notes</H3
><TABLE
BORDER="0"
CLASS="FOOTNOTES"
WIDTH="100%"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.X-087-2-FNUU01"
HREF="x-087-2-uucp.html#X-087-2-FNUU01"
>[1]</A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>Written and copyrighted by Ian Taylor, 1995.</P
></TD
></TR
></TABLE
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x-087-2-ipx.ncpfs.server.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x-087-2-uucp.intro.grades.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>NetWare Server Emulation</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>UUCP Transfers and Remote Execution</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>