Chapter 21. C News
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.
C News stores its configuration files in
/etc/news
, and most of its binaries are kept
below the /usr/lib/news/
directory. Articles are
kept below /var/spool/news
. You should make sure
that virtually all files in these directories are owned by user
news or group news. Most problems arise from files being
inaccessible to C News. Use su to become the user
news before you touch anything
in the directory. The only exception is the
setnewsids command, which is used to set the real
user ID of some news programs. It must be owned by root and have the setuid bit set.
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.
Delivering News
Articles can be fed to C News in several ways. When a local user posts
an article, the newsreader usually hands it to the
inews command, which completes the header
information. News from remote sites, be it a single article or a whole
batch, is given to the rnews command, which stores
it in the /var/spool/news/in.coming
directory,
from where it will be picked up at a later time by
newsrun. With any of these two techniques, however,
the article will eventually be handed to the
relaynews command.
For each article, the relaynews command ...
Get Linux Network Administrator's Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.