1NFADMIN(8) System Manager's Manual NFADMIN(8)
2
3
4
6 nfadmin - Change the status of a set of Notesfiles
7
9 nfadmin flags topic [ topic ... ]
10 nfadmin flags -f listfile
11
13 Nfadmin simplifies the task of displaying and setting director page
14 options of many notesfiles at once.
15
16 The flags specify the status to be changed.
17
18 -a+ Allow anonymous submissions.
19
20 -a- Disallow anonymous submissions.
21
22 -n+ Allow network transmissions/receptions.
23
24 -n- Disallow network transmissions/receptions.
25
26 -o+ Open the notesfile. Allow local access by non-directors (sub‐
27 ject to access permissions).
28
29 -o- Close the notesfile. Disallow local access by non-directors.
30
31 -A+ Flag this notesfile as an archive notesfile. (This does NOT
32 mean that the notesfile will be archived. You can't archive an
33 archive!)
34
35 -A- Flag this notesfile as a non-archive notesfile. This does not
36 affect what happens to notes when they expire.
37
38 -M+ Flag this notesfile as a moderated notesfile. This causes com‐
39 mands that create new notes or responses to create a mail mes‐
40 sage to the newsgroup moderator instead. A list of notesfiles
41 and the mail address of the moderator is maintained in
42 /usr/spool/notes/.utilities/moderators.
43
44 -M- Flag this notesfile as a non-moderated notesfile.
45
46 -L+ Flag this notesfile as a local notesfile. Local notesfiles
47 don't ask whether to include a .signature file at the end of a
48 new note or response.
49
50 -L- Flag this notesfile as a non-local notesfile. If the NFSIG
51 environment variable is set, notes will prompt whether or not to
52 include the signature file named by NFSIG at the end of a new
53 note or response.
54
55 -e=NN Set the expiration time of this notesfile to NN days. (NN
56 should be replaced with a positive number).
57
58 -e=0 Set the expiration time of this notesfile to DEFAULT. The num‐
59 ber specified on the nfarchive command line will be used to
60 determine expiration time. If no time is specified on the
61 nfarchive command line, 14 days is used.
62
63 -e=-1 Set the expiration time of this notesfile to NEVER.
64
65 -W=0 Set the working set size of this notesfile to the command line
66 default.
67
68 -W=NN Set the working set size of this notesfile to NN.
69
70 -l=NNNNN
71 Set the maximum note size of an individual note in this notes‐
72 file to NNNNN. (Warning: negative numbers and numbers under
73 1000 are a very bad idea here. The usual notes default of
74 100000 is too small for sources groups and mod.map. Please con‐
75 sider raising the limit for these groups to something more rea‐
76 sonable, like 500000 or 2000000. Also check your parms.h file;
77 notes has a "hard limit", and if you set the maximum size over
78 the hard limit, the hard limit still applies, even though the
79 individual maximum is still displayed).
80
81 -E=default
82 Set the expiration action of this notesfile to the command line
83 default.
84
85 -E=delete
86 Set the expiration action of this notesfile to DELETE.
87
88 -E=archive
89 Set the expiration action of this notesfile to ARCHIVE
90
91 -D=default
92 Set the director message status of this notesfile to the command
93 line default.
94
95 -D=on Set the director message status of this notesfile to ON; only
96 notes with the director message ON will be removed by nfarchive.
97
98 -D=off Set the director message status of this notesfile to OFF; only
99 notes with the director message OFF will be removed by
100 nfarchive.
101
102 -D=nocare
103 Set the director message status of this notesfile to NOCARE; the
104 director message flag is not used by nfarchive in selecting
105 notes for archive/deletion.
106
107 -f file
108 The file specified in the argument following the -f flag con‐
109 tains a series of lines, each specifying a notesfile or group of
110 notesfiles (wildcard) to be displayed or changed.
111
112 If no flags are specified (except possibly -f), no changes are made,
113 but the current state of the notesfiles is displayed. If flag(s) are
114 specified, the new state after the changes is displayed, in the follow‐
115 ing format:
116
117 notesfile title NetW Open Anon Arch WSet Arch. Keep DirM # Max
118 -------status------ Size Time Actn Stat Notes Size
119 net.bugs.2bsd : YES YES NO NO 0 12 ARCH DFLT 3 500000
120 net.bugs.4bsd : YES YES NO NO 2 12 ARCH DFLT 26 500000
121 net.bugs.usg : YES YES NO NO 0 12 ARCH DFLT 8 500000
122 net.bugs.uucp : YES YES NO NO 0 12 ARCH DFLT 9 500000
123 net.bugs.v7 : YES YES NO NO 2 12 ARCH DFLT 1 500000
124 nfmaint : YES YES NO NO 0 NEVER DEL DFLT 3 500000
125 nfgripes : YES YES NO NO 0 14 DEL DFLT 0 500000
126 net.micro.6809: NO YES NO NO 0 1 DEL DFLT 0 500000
127 net.announce : YES YES NO NO 0 DFLT ARCH DFLT 0 500000
128 (The output has been squished slightly to allow it to fit in the manual
129 page format).
130
131 All users are allowed to run this program. The changes are only
132 applied to notesfiles for which the executing user is a director.
133
134 This program lives in the notesfile utility directory, typically
135 ``/usr/spool/notes/.utilities''.
136
138 nfadmin -n+ -o+ -a- -e=14 "net.*"
139 nfadmin -o- -f noteslist
140
141 In the first example, all of the net.* notesfiles are set to networked,
142 open, non-anonymous, with an expiration time of 14 days. The second
143 example closes access to non-directors for all of the files listed in
144 the file "noteslist".
145
147 More parameters ought to be changable with this program.
148
149 Nfadmin has not been tested with systems that can have notesfile names
150 longer than 14 characters. The nfadmin code does not have such depen‐
151 dencies except in the output format, but the columns may look ugly.
152
153 Nfadmin will probably stop working when a certain news administrator
154 creates newsgroup names larger than any of the PDP-11 max data space
155 (64k), the maximum argument/environment to exec (something around 10k),
156 or the total amount of virtual memory on your machine.
157
159 /usr/spool/notes the default notesfile data base
160
162 mknf(8), notes(1), nfcomment(3),
163 The Notesfile Reference Manual
164
166 Gordon Burditt (sneaky!gordon)
167 Tandy Systems Design
168
169 created this program using the Notesfiles system by
170
171 Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa)
172 University of Illinois at Urbana-Champaign
173 Urbana, IL
174
175 as a base.
176
177
178
179 University of Illinois NFADMIN(8)