Managing INN: The ctlinnd Command
The INN news server comes with a command to manage its day-to-day operation. The ctlinnd command can be used to manipulate newsgroups and newsgroup feeds, to obtain the status, of the server, and to reload, stop, and start the server.
You’d normally get a summary of the ctlinnd command syntax using:
# ctlinnd -h
We’ll cover some of the more important uses of ctlinnd here; please consult the ctlinnd manual page for more detail.
Add a New Group
Use the following syntax to add a new group:
ctlinnd newgroupgrouprestcreator
The arguments are defined as follows:
-
group The name of the group to create.
-
rest This argument should be coded in the same way as the
flagsfield of theactivefile. It defaults toyif not supplied.-
creator The name of the person creating the group. Enclose it in quotes if there are any spaces in the name.
Change a Group
Use the following syntax to change a group:
ctlinnd changegroupgrouprest
The arguments are defined as follows:
-
group The name of the group to change.
-
rest This argument should be coded in the same way as the
flagsfield of theactivefile.
This command is useful to change the moderation status of a group.
Remove a Group
Use the following syntax to remove a group:
ctlinnd rmgroup group
The argument is defined as follows:
-
group The name of the group to remove.
This command removes the specified newsgroup from the
active file. It has no effect on the news spool. All articles in the spool for the specified group will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access