NEWSFLAG(8CN)

NAME
newsflag - change active-file flag for newsgroup

SYNOPSIS
/usr/libexec/news/maint/newsflag newsgroup newval

DESCRIPTION
Newsflag sets the fourth field of newsgroup's entry in the active file (see newsdb(5)) to newval, doing proper locking to ensure safe modification of the file. For example, to change newsgroup x.y.z from unmoderated to moderated:

    newsflag x.y.z m

The effect is purely local; no control message (to propagate the change to other machines) is sent.

FILES
/etc/news/active

SEE ALSO
newsdb(5)

HISTORY
Written by Henry Spencer for C News.