Print this page
5069 Removal of wu-ftpd
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Adam Stevko <adam.stevko@gmail.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man4/syslog.conf.4
+++ new/usr/src/man/man4/syslog.conf.4
1 1 '\" te
2 2 .\" Copyright (c) 2013 Gary Mills
3 3 .\" Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
4 4 .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
5 5 .TH SYSLOG.CONF 4 "Nov 19, 2013"
6 6 .SH NAME
7 7 syslog.conf \- configuration file for syslogd system log daemon
8 8 .SH SYNOPSIS
9 9 .LP
10 10 .nf
11 11 \fB/etc/syslog.conf\fR
12 12 .fi
13 13
14 14 .SH DESCRIPTION
15 -.sp
16 15 .LP
17 16 The file \fB/etc/syslog.conf\fR contains information used by the system log
18 17 daemon, \fBsyslogd\fR(1M), to forward a system message to appropriate log files
19 18 and/or users. \fBsyslogd\fR preprocesses this file through \fBm4\fR(1) to
20 19 obtain the correct information for certain log files, defining \fBLOGHOST\fR if
21 20 the address of "loghost" is the same as one of the addresses of the host that
22 21 is running \fBsyslogd\fR.
23 22 .sp
24 23 .LP
25 24 A configuration entry is composed of two TAB-separated fields:
26 25 .sp
27 26 .in +2
28 27 .nf
29 28 \fIselector action\fR
30 29 .fi
31 30 .in -2
32 31
33 32 .sp
34 33 .LP
35 34 The \fIselector\fR field contains a semicolon-separated list of priority
36 35 specifications of the form:
37 36 .sp
38 37 .in +2
39 38 .nf
40 39 \fIfacility\fR\fB\&.\fR\fIlevel\fR [ \fB;\fR \fIfacility\fR\fB\&.\fR\fIlevel\fR ]
41 40 .fi
42 41 .in -2
43 42
44 43 .sp
45 44 .LP
46 45 where \fIfacility\fR is a system facility, or comma-separated list of
47 46 facilities, and \fIlevel\fR is an indication of the severity of the condition
48 47 being logged.
49 48 The presence of a facility name only implies that it is available.
50 49 Each individual service determines which facility it will use for logging.
51 50 In particular, many facilities are only useful for \fBsyslog\fR messages
52 51 that are forwarded from other operating systems.
53 52 Recognized values for \fIfacility\fR include:
54 53 .sp
55 54 .ne 2
56 55 .na
57 56 \fB\fBkern\fR\fR
58 57 .ad
59 58 .RS 12n
60 59 Messages generated by the kernel.
61 60 .RE
62 61
63 62 .sp
64 63 .ne 2
65 64 .na
66 65 \fB\fBuser\fR\fR
67 66 .ad
68 67 .RS 12n
69 68 Messages generated by user processes. This is the default priority for messages
70 69 from programs or facilities not listed in this file.
71 70 .RE
72 71
73 72 .sp
74 73 .ne 2
75 74 .na
76 75 \fB\fBmail\fR\fR
77 76 .ad
78 77 .RS 12n
79 78 The mail system.
80 79 .RE
81 80
82 81 .sp
83 82 .ne 2
84 83 .na
85 84 \fB\fBdaemon\fR\fR
86 85 .ad
87 86 .RS 12n
88 87 Various system daemons.
89 88 .RE
90 89
91 90 .sp
92 91 .ne 2
93 92 .na
94 93 \fB\fBauth\fR\fR
95 94 .ad
96 95 .RS 12n
97 96 The authorization system: \fBlogin\fR(1), \fBsu\fR(1M), \fBgetty\fR(1M), among
98 97 others.
99 98 .RE
100 99
101 100 .sp
102 101 .ne 2
103 102 .na
104 103 \fB\fBlpr\fR\fR
105 104 .ad
106 105 .RS 12n
107 106 The line printer spooling system: \fBlpr\fR(1B), \fBlpc\fR(1B), among others.
108 107 .RE
109 108
110 109 .sp
111 110 .ne 2
112 111 .na
113 112 \fB\fBnews\fR\fR
114 113 .ad
115 114 .RS 12n
116 115 Designated for the USENET network news system.
117 116 .RE
118 117
119 118 .sp
120 119 .ne 2
121 120 .na
122 121 \fB\fBuucp\fR\fR
123 122 .ad
124 123 .RS 12n
125 124 Designated for the UUCP system; it does not currently use the \fBsyslog\fR
126 125 mechanism.
127 126 .RE
128 127
129 128 .sp
130 129 .ne 2
131 130 .na
132 131 \fB\fBaltcron\fR\fR
133 132 .ad
134 133 .RS 12n
135 134 Designated for the BSD cron/at system.
136 135 .RE
137 136
138 137 .sp
139 138 .ne 2
140 139 .na
141 140 \fB\fBauthpriv\fR\fR
142 141 .ad
143 142 .RS 12n
↓ open down ↓ |
118 lines elided |
↑ open up ↑ |
144 143 Designated for the BSD security/authorization system.
145 144 .RE
146 145
147 146 .sp
148 147 .ne 2
149 148 .na
150 149 \fB\fBftp\fR\fR
151 150 .ad
152 151 .RS 12n
153 152 Designated for the file transfer system.
154 -The current version of \fBin.ftpd\fR(1M) does not use this facility
155 -for logging.
156 153 .RE
157 154
158 155 .sp
159 156 .ne 2
160 157 .na
161 158 \fB\fBntp\fR\fR
162 159 .ad
163 160 .RS 12n
164 161 Designated for the network time system.
165 162 .RE
166 163
167 164 .sp
168 165 .ne 2
169 166 .na
170 167 \fB\fBaudit\fR\fR
171 168 .ad
172 169 .RS 12n
173 170 Designated for audit messages generated by systems that audit by means of
174 171 syslog.
175 172 .RE
176 173
177 174 .sp
178 175 .ne 2
179 176 .na
180 177 \fB\fBconsole\fR\fR
181 178 .ad
182 179 .RS 12n
183 180 Designated for the BSD console system.
184 181 .RE
185 182
186 183 .sp
187 184 .ne 2
188 185 .na
189 186 \fB\fBcron\fR\fR
190 187 .ad
191 188 .RS 12n
192 189 Designated for \fBcron\fR/\fBat\fR messages generated by systems that do
193 190 logging through \fBsyslog\fR.
194 191 The current versions of \fBcron\fR and \fBat\fR do not use this facility
195 192 for logging.
196 193 .RE
197 194
198 195 .sp
199 196 .ne 2
200 197 .na
201 198 \fB\fBlocal0-7\fR\fR
202 199 .ad
203 200 .RS 12n
204 201 Designated for local use.
205 202 .RE
206 203
207 204 .sp
208 205 .ne 2
209 206 .na
210 207 \fB\fBmark\fR\fR
211 208 .ad
212 209 .RS 12n
213 210 For timestamp messages produced internally by \fBsyslogd\fR.
214 211 .RE
215 212
216 213 .sp
217 214 .ne 2
218 215 .na
219 216 \fB\fB*\fR\fR
220 217 .ad
221 218 .RS 12n
222 219 An asterisk indicates all facilities except for the \fBmark\fR facility.
223 220 .RE
224 221
225 222 .sp
226 223 .LP
227 224 Recognized values for \fIlevel\fR are (in descending order of severity):
228 225 .sp
229 226 .ne 2
230 227 .na
231 228 \fB\fBemerg\fR\fR
232 229 .ad
233 230 .RS 11n
234 231 For panic conditions that would normally be broadcast to all users.
235 232 .RE
236 233
237 234 .sp
238 235 .ne 2
239 236 .na
240 237 \fB\fBalert\fR\fR
241 238 .ad
242 239 .RS 11n
243 240 For conditions that should be corrected immediately, such as a corrupted system
244 241 database.
245 242 .RE
246 243
247 244 .sp
248 245 .ne 2
249 246 .na
250 247 \fB\fBcrit\fR\fR
251 248 .ad
252 249 .RS 11n
253 250 For warnings about critical conditions, such as hard device errors.
254 251 .RE
255 252
256 253 .sp
257 254 .ne 2
258 255 .na
259 256 \fB\fBerr\fR\fR
260 257 .ad
261 258 .RS 11n
262 259 For other errors.
263 260 .RE
264 261
265 262 .sp
266 263 .ne 2
267 264 .na
268 265 \fB\fBwarning\fR\fR
269 266 .ad
270 267 .RS 11n
271 268 For warning messages.
272 269 .RE
273 270
274 271 .sp
275 272 .ne 2
276 273 .na
277 274 \fB\fBnotice\fR\fR
278 275 .ad
279 276 .RS 11n
280 277 For conditions that are not error conditions, but may require special handling.
281 278 A configuration entry with a \fIlevel\fR value of \fBnotice\fR must appear on a
282 279 separate line.
283 280 .RE
284 281
285 282 .sp
286 283 .ne 2
287 284 .na
288 285 \fB\fBinfo\fR\fR
289 286 .ad
290 287 .RS 11n
291 288 Informational messages.
292 289 .RE
293 290
294 291 .sp
295 292 .ne 2
296 293 .na
297 294 \fB\fBdebug\fR\fR
298 295 .ad
299 296 .RS 11n
300 297 For messages that are normally used only when debugging a program.
301 298 .RE
302 299
303 300 .sp
304 301 .ne 2
305 302 .na
306 303 \fB\fBnone\fR\fR
307 304 .ad
308 305 .RS 11n
309 306 Do not send messages from the indicated \fIfacility\fR to the selected file.
310 307 For example, a \fIselector\fR of
311 308 .sp
312 309 \fB*.debug;mail.none\fR
313 310 .sp
314 311 sends all messages \fIexcept\fR mail messages to the selected file.
315 312 .RE
316 313
317 314 .sp
318 315 .LP
319 316 For a given \fIfacility\fR and \fIlevel\fR, \fBsyslogd\fR matches all messages
320 317 for that level and all higher levels. For example, an entry that specifies a
321 318 level of \fBcrit\fR also logs messages at the \fBalert\fR and \fBemerg\fR
322 319 levels.
323 320 .sp
324 321 .LP
325 322 The \fIaction\fR field indicates where to forward the message. Values for this
326 323 field can have one of four forms:
327 324 .RS +4
328 325 .TP
329 326 .ie t \(bu
330 327 .el o
331 328 A filename, beginning with a leading slash, which indicates that messages
332 329 specified by the \fIselector\fR are to be written to the specified file. The
333 330 file is opened in append mode if it exists. If the file does not exist, logging
334 331 silently fails for this action.
335 332 .RE
336 333 .RS +4
337 334 .TP
338 335 .ie t \(bu
339 336 .el o
340 337 The name of a remote host, prefixed with an \fB@\fR, as with:
341 338 \fB@\fR\fIserver\fR, which indicates that messages specified by the
342 339 \fIselector\fR are to be forwarded to the \fBsyslogd\fR on the named host. The
343 340 hostname "loghost" is treated, in the default \fBsyslog.conf\fR, as the
344 341 hostname given to the machine that logs \fBsyslogd\fR messages. Every machine
345 342 is "loghost" by default, per the hosts database. It is also possible to specify
346 343 one machine on a network to be "loghost" by, literally, naming the machine
347 344 "loghost". If the local machine is designated to be "loghost", then
348 345 \fBsyslogd\fR messages are written to the appropriate files. Otherwise, they
349 346 are sent to the machine "loghost" on the network.
350 347 .RE
351 348 .RS +4
352 349 .TP
353 350 .ie t \(bu
354 351 .el o
355 352 A comma-separated list of usernames, which indicates that messages specified by
356 353 the \fIselector\fR are to be written to the named users if they are logged in.
357 354 .RE
358 355 .RS +4
359 356 .TP
360 357 .ie t \(bu
361 358 .el o
362 359 An asterisk, which indicates that messages specified by the \fIselector\fR are
363 360 to be written to all logged-in users.
364 361 .RE
365 362 .sp
366 363 .LP
367 364 Blank lines are ignored. Lines for which the first nonwhite character is
368 365 a '\fB#\fR' are treated as comments.
369 366 .SH EXAMPLES
370 367 .LP
371 368 \fBExample 1 \fRA Sample Configuration File
372 369 .sp
373 370 .LP
374 371 With the following configuration file:
375 372
376 373 .sp
377 374
378 375 .sp
379 376 .TS
380 377 l l
381 378 l l .
382 379 \fB*.notice\fR \fB/var/log/notice\fR
383 380 \fBmail.info\fR \fB/var/log/notice\fR
384 381 \fB*.crit\fR \fB/var/log/critical\fR
385 382 \fBkern,mark.debug\fR \fB/dev/console\fR
386 383 \fBkern.err\fR \fB@server\fR
387 384 \fB*.emerg\fR \fB*\fR
388 385 \fB*.alert\fR \fBroot,operator\fR
389 386 \fB*.alert;auth.warning\fR \fB/var/log/auth\fR
390 387 .TE
391 388
392 389 .sp
393 390 .LP
394 391 \fBsyslogd\fR(1M) logs all mail system messages except \fBdebug\fR messages and
395 392 all \fBnotice\fR (or higher) messages into a file named \fB/var/log/notice\fR.
396 393 It logs all critical messages into \fB/var/log/critical\fR, and all kernel
397 394 messages and 20-minute marks onto the system console.
↓ open down ↓ |
232 lines elided |
↑ open up ↑ |
398 395
399 396 .sp
400 397 .LP
401 398 Kernel messages of \fBerr\fR (error) severity or higher are forwarded to the
402 399 machine named \fBserver\fR. Emergency messages are forwarded to all users. The
403 400 users \fBroot\fR and \fBoperator\fR are informed of any \fBalert\fR messages.
404 401 All messages from the authorization system of \fBwarning\fR level or higher are
405 402 logged in the file \fB/var/log/auth\fR.
406 403
407 404 .SH ATTRIBUTES
408 -.sp
409 405 .LP
410 406 See \fBattributes\fR(5) for descriptions of the following attributes:
411 407 .sp
412 408
413 409 .sp
414 410 .TS
415 411 box;
416 412 c | c
417 413 l | l .
418 414 ATTRIBUTE TYPE ATTRIBUTE VALUE
419 415 _
420 416 Interface Stability Stable
421 417 .TE
422 418
423 419 .SH SEE ALSO
424 -.sp
425 420 .LP
426 421 \fBat\fR(1), \fBcrontab\fR(1), \fBlogger\fR(1), \fBlogin\fR(1), \fBlp\fR(1),
427 422 \fBlpc\fR(1B), \fBlpr\fR(1B), \fBm4\fR(1), \fBcron\fR(1M), \fBgetty\fR(1M),
428 423 \fBin.ftpd\fR(1M), \fBsu\fR(1M), \fBsyslogd\fR(1M), \fBsyslog\fR(3C),
429 424 \fBhosts\fR(4), \fBattributes\fR(5)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX