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

259 lines
4.1 KiB
HTML

<HTML
><HEAD
><TITLE
>C News</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="How Does Usenet Handle News?"
HREF="x-087-2-news.algorithm.html"><LINK
REL="NEXT"
TITLE="Delivering News"
HREF="x-087-2-cnews.rnews.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-news.algorithm.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x-087-2-cnews.rnews.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="X-087-2-CNEWS"
>Chapter 21. C News</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>21.1. <A
HREF="x-087-2-cnews.rnews.html"
>Delivering News</A
></DT
><DT
>21.2. <A
HREF="x16700.html"
>Installation</A
></DT
><DT
>21.3. <A
HREF="x-087-2-cnews.sys.html"
>The sys File</A
></DT
><DT
>21.4. <A
HREF="x-087-2-cnews.active.html"
>The active File</A
></DT
><DT
>21.5. <A
HREF="x-087-2-cnews.batcher.html"
>Article Batching</A
></DT
><DT
>21.6. <A
HREF="x-087-2-cnews.explist.html"
>Expiring News</A
></DT
><DT
>21.7. <A
HREF="x-087-2-cnews.misc.html"
>Miscellaneous Files</A
></DT
><DT
>21.8. <A
HREF="x-087-2-cnews.control.html"
>Control Messages</A
></DT
><DD
><DL
><DT
>21.8.1. <A
HREF="x-087-2-cnews.control.html#X-087-2-CNEWS.CONTROL.CANCEL"
>The cancel Message</A
></DT
><DT
>21.8.2. <A
HREF="x-087-2-cnews.control.html#X-087-2-CNEWS.CONTROL.ADDGROUP"
>newgroup and rmgroup</A
></DT
><DT
>21.8.3. <A
HREF="x-087-2-cnews.control.html#X-087-2-CNEWS.CONTROL.CHECKGROUPS"
>The checkgroups Message</A
></DT
><DT
>21.8.4. <A
HREF="x-087-2-cnews.control.html#X-087-2-CNEWS.CONTROL.SENDSYS"
>sendsys, version, and senduuname</A
></DT
></DL
></DD
><DT
>21.9. <A
HREF="x-087-2-cnews.nfs.html"
>C News in an NFS Environment</A
></DT
><DT
>21.10. <A
HREF="x-087-2-cnews.maint.html"
>Maintenance Tools and Tasks</A
></DT
></DL
></DIV
><P
>One of the most popular software packages for Netnews is C News. It was
designed for sites that carry news over UUCP links. This chapter
will discuss the central concepts of C News, basic installation,
and maintenance tasks.</P
><P
>&#13;
C News stores its configuration files in
<TT
CLASS="FILENAME"
>/etc/news</TT
>, and most of its binaries are kept
below the <TT
CLASS="FILENAME"
>/usr/lib/news/</TT
> directory. Articles are
kept below <TT
CLASS="FILENAME"
>/var/spool/news</TT
>. You should make sure
that virtually all files in these directories are owned by user
<SPAN
CLASS="SYSTEMITEM"
>news</SPAN
> or group <SPAN
CLASS="SYSTEMITEM"
>news</SPAN
>. Most problems arise from files being
inaccessible to C News. Use <B
CLASS="COMMAND"
>su</B
> to become the user
<SPAN
CLASS="SYSTEMITEM"
>news</SPAN
> before you touch anything
in the directory. The only exception is the
<B
CLASS="COMMAND"
>setnewsids</B
> command, which is used to set the real
user ID of some news programs. It must be owned by <SPAN
CLASS="SYSTEMITEM"
>root</SPAN
> and have the setuid bit set.</P
><P
>In this chapter, we describe all C News configuration files in detail
and show you what you have to do to keep your site running.</P
></DIV
><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-news.algorithm.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-cnews.rnews.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>How Does Usenet Handle News?</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Delivering News</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>