| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: rc.conf.5,v 1.131 2009/07/25 21:21:20 wiz Exp $ | | 1 | .\" $NetBSD: rc.conf.5,v 1.132 2009/09/03 20:06:39 apb Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1996 Matthew R. Green | | 3 | .\" Copyright (c) 1996 Matthew R. Green |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
| @@ -45,27 +45,27 @@ | | | @@ -45,27 +45,27 @@ |
45 | .\" | | 45 | .\" |
46 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 46 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
47 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 47 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
48 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 48 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
49 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 49 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
50 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | | 50 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
51 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | | 51 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
52 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | | 52 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
53 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | | 53 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
54 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 54 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
55 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 55 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
56 | .\" SUCH DAMAGE. | | 56 | .\" SUCH DAMAGE. |
57 | .\" | | 57 | .\" |
58 | .Dd July 25, 2009 | | 58 | .Dd September 3, 2009 |
59 | .Dt RC.CONF 5 | | 59 | .Dt RC.CONF 5 |
60 | .Os | | 60 | .Os |
61 | .Sh NAME | | 61 | .Sh NAME |
62 | .Nm rc.conf | | 62 | .Nm rc.conf |
63 | .Nd system startup configuration file | | 63 | .Nd system startup configuration file |
64 | .Sh DESCRIPTION | | 64 | .Sh DESCRIPTION |
65 | The | | 65 | The |
66 | .Nm | | 66 | .Nm |
67 | file specifies which services are enabled during system startup by | | 67 | file specifies which services are enabled during system startup by |
68 | the startup scripts invoked by | | 68 | the startup scripts invoked by |
69 | .Pa /etc/rc | | 69 | .Pa /etc/rc |
70 | (see | | 70 | (see |
71 | .Xr rc 8 ) , | | 71 | .Xr rc 8 ) , |
| @@ -76,45 +76,26 @@ The | | | @@ -76,45 +76,26 @@ The |
76 | file is a shell script that is sourced by | | 76 | file is a shell script that is sourced by |
77 | .Xr rc 8 , | | 77 | .Xr rc 8 , |
78 | meaning that | | 78 | meaning that |
79 | .Nm | | 79 | .Nm |
80 | must contain valid shell commands. | | 80 | must contain valid shell commands. |
81 | .Pp | | 81 | .Pp |
82 | Listed below are the standard | | 82 | Listed below are the standard |
83 | .Nm | | 83 | .Nm |
84 | variables that may be set, the values to which each may be set, | | 84 | variables that may be set, the values to which each may be set, |
85 | a brief description of what each variable does, and a reference to | | 85 | a brief description of what each variable does, and a reference to |
86 | relevant manual pages. | | 86 | relevant manual pages. |
87 | Third party packages may test for additional variables. | | 87 | Third party packages may test for additional variables. |
88 | .Pp | | 88 | .Pp |
89 | Most variables are one of two types: enabling variables or flags | | | |
90 | variables. | | | |
91 | Enabling variables, such as | | | |
92 | .Sy inetd , | | | |
93 | are generally named after the program or the system they enable, | | | |
94 | and are set to | | | |
95 | .Sq YES | | | |
96 | or | | | |
97 | .Sq NO . | | | |
98 | Flags variables, such as | | | |
99 | .Sy inetd_flags | | | |
100 | have the same name with "_flags" appended, and determine what | | | |
101 | arguments are passed to the program if it is enabled. | | | |
102 | .Pp | | | |
103 | If a variable that | | | |
104 | .Xr rc 8 | | | |
105 | expects to be set is not set, or the value is not one of the allowed | | | |
106 | values, a warning will be printed. | | | |
107 | .Pp | | | |
108 | By default, | | 89 | By default, |
109 | .Nm | | 90 | .Nm |
110 | reads | | 91 | reads |
111 | .Pa /etc/defaults/rc.conf | | 92 | .Pa /etc/defaults/rc.conf |
112 | (if it is readable) | | 93 | (if it is readable) |
113 | to obtain default values for various variables, and the end-user | | 94 | to obtain default values for various variables, and the end-user |
114 | may override these by appending appropriate entries to the end of | | 95 | may override these by appending appropriate entries to the end of |
115 | .Nm . | | 96 | .Nm . |
116 | .Pp | | 97 | .Pp |
117 | .Xr rc.d 8 | | 98 | .Xr rc.d 8 |
118 | scripts that use | | 99 | scripts that use |
119 | .Ic load_rc_config | | 100 | .Ic load_rc_config |
120 | from | | 101 | from |
| @@ -125,56 +106,77 @@ file | | | @@ -125,56 +106,77 @@ file |
125 | (where | | 106 | (where |
126 | .Ar service | | 107 | .Ar service |
127 | is the contents of the | | 108 | is the contents of the |
128 | .Sy name | | 109 | .Sy name |
129 | variable in the | | 110 | variable in the |
130 | .Xr rc.d 8 | | 111 | .Xr rc.d 8 |
131 | script). | | 112 | script). |
132 | This may contain variable overrides, including allowing the end-user | | 113 | This may contain variable overrides, including allowing the end-user |
133 | to override various | | 114 | to override various |
134 | .Ic run_rc_command | | 115 | .Ic run_rc_command |
135 | .Xr rc.d 8 | | 116 | .Xr rc.d 8 |
136 | control variables, and thus changing the operation of the script | | 117 | control variables, and thus changing the operation of the script |
137 | without requiring editing of the script. | | 118 | without requiring editing of the script. |
| | | 119 | .Ss Variable naming conventions and data types |
| | | 120 | Most variables are one of two types: enabling variables or flags |
| | | 121 | variables. |
| | | 122 | Enabling variables, such as |
| | | 123 | .Sy inetd , |
| | | 124 | are generally named after the program or the system they enable, |
| | | 125 | and have boolean values (specified using |
| | | 126 | .Sq Ic YES , |
| | | 127 | .Sq Ic TRUE , |
| | | 128 | .Sq Ic ON |
| | | 129 | or |
| | | 130 | .Sq Ic 1 |
| | | 131 | for true, and |
| | | 132 | .Sq Ic NO , |
| | | 133 | .Sq Ic FALSE , |
| | | 134 | .Sq Ic OFF |
| | | 135 | or |
| | | 136 | .Sq Ic 0 |
| | | 137 | for false, with the values being case insensitive). |
| | | 138 | Flags variables, such as |
| | | 139 | .Sy inetd_flags |
| | | 140 | have the same name with "_flags" appended, and determine what |
| | | 141 | arguments are passed to the program if it is enabled. |
| | | 142 | .Pp |
| | | 143 | If a variable that |
| | | 144 | .Xr rc 8 |
| | | 145 | expects to be set is not set, or the value is not one of the allowed |
| | | 146 | values, a warning will be printed. |
138 | .Ss Overall control | | 147 | .Ss Overall control |
139 | .Bl -tag -width net_interfaces | | 148 | .Bl -tag -width net_interfaces |
140 | .It Sy do_rcshutdown | | 149 | .It Sy do_rcshutdown |
141 | .Sq YES | | 150 | Boolean value. |
142 | or | | 151 | If false, |
143 | .Sq NO . | | | |
144 | If set to | | | |
145 | .Sq NO , | | | |
146 | .Xr shutdown 8 | | 152 | .Xr shutdown 8 |
147 | will not run | | 153 | will not run |
148 | .Pa /etc/rc.shutdown . | | 154 | .Pa /etc/rc.shutdown . |
149 | .It Sy rcshutdown_rcorder_flags | | 155 | .It Sy rcshutdown_rcorder_flags |
150 | A string. | | 156 | A string. |
151 | Extra arguments to the | | 157 | Extra arguments to the |
152 | .Xr rcorder 8 | | 158 | .Xr rcorder 8 |
153 | run by | | 159 | run by |
154 | .Pa /etc/rc.shutdown . | | 160 | .Pa /etc/rc.shutdown . |
155 | .It Sy rcshutdown_timeout | | 161 | .It Sy rcshutdown_timeout |
156 | A number. | | 162 | A number. |
157 | If non-blank, use this as the number of seconds to run a watchdog timer for | | 163 | If non-blank, use this as the number of seconds to run a watchdog timer for |
158 | which will terminate | | 164 | which will terminate |
159 | .Pa /etc/rc.shutdown | | 165 | .Pa /etc/rc.shutdown |
160 | if the timer expires before the shutdown script completes. | | 166 | if the timer expires before the shutdown script completes. |
161 | .It Sy rc_configured | | 167 | .It Sy rc_configured |
162 | .Sq YES | | 168 | Boolean value. |
163 | or | | 169 | If false then the system will drop into single-user mode during boot. |
164 | .Sq NO . | | | |
165 | If not set to | | | |
166 | .Sq YES | | | |
167 | then the system will drop into single-user mode during boot. | | | |
168 | .It Sy rc_fast_and_loose | | 170 | .It Sy rc_fast_and_loose |
169 | If set to a non-empty string, | | 171 | If set to a non-empty string, |
170 | each script in | | 172 | each script in |
171 | .Pa /etc/rc.d | | 173 | .Pa /etc/rc.d |
172 | will be executed in the current shell rather than a sub shell. | | 174 | will be executed in the current shell rather than a sub shell. |
173 | This may be faster on slow machines that have an expensive | | 175 | This may be faster on slow machines that have an expensive |
174 | .Xr fork 2 | | 176 | .Xr fork 2 |
175 | operation. | | 177 | operation. |
176 | .Bl -hang | | 178 | .Bl -hang |
177 | .It Em Note : | | 179 | .It Em Note : |
178 | Use this at your own risk! | | 180 | Use this at your own risk! |
179 | A rogue command or script may inadvertently prevent boot to multiuser. | | 181 | A rogue command or script may inadvertently prevent boot to multiuser. |
180 | .El | | 182 | .El |
| @@ -263,117 +265,90 @@ during boot before mounting it. | | | @@ -263,117 +265,90 @@ during boot before mounting it. |
263 | This option may be used to override the default command-line options | | 265 | This option may be used to override the default command-line options |
264 | passed to the | | 266 | passed to the |
265 | .Xr fsck 8 | | 267 | .Xr fsck 8 |
266 | program. | | 268 | program. |
267 | .Pp | | 269 | .Pp |
268 | When set to | | 270 | When set to |
269 | .Fl y , | | 271 | .Fl y , |
270 | .Xr fsck 8 | | 272 | .Xr fsck 8 |
271 | assumes yes as the answer to all operator questions during file system checks. | | 273 | assumes yes as the answer to all operator questions during file system checks. |
272 | This might be important with hosts where the administrator does not have | | 274 | This might be important with hosts where the administrator does not have |
273 | access to the console and an unsuccessful shutdown must not make the host | | 275 | access to the console and an unsuccessful shutdown must not make the host |
274 | unbootable even if the file system checks would fail in preen mode. | | 276 | unbootable even if the file system checks would fail in preen mode. |
275 | .It Sy no_swap | | 277 | .It Sy no_swap |
276 | .Sq YES | | 278 | Boolean value. |
277 | or | | 279 | Should be true if you have deliberately configured your system with no swap. |
278 | .Sq NO . | | 280 | If false and no swap devices are configured, the system will warn you. |
279 | Set the | | | |
280 | .Sy no_swap | | | |
281 | variable to | | | |
282 | .Sq YES | | | |
283 | if you have configured your system with no swap on purpose. | | | |
284 | If not set to | | | |
285 | .Sq YES , | | | |
286 | and no swap devices | | | |
287 | are configured, the system will warn you. | | | |
288 | .It Sy swapoff | | 281 | .It Sy swapoff |
289 | .Sq YES | | 282 | Boolean value. |
290 | or | | | |
291 | .Sq NO . | | | |
292 | Remove block-type swap devices at shutdown time. | | 283 | Remove block-type swap devices at shutdown time. |
293 | Useful if swapping onto RAIDframe devices. | | 284 | Useful if swapping onto RAIDframe devices. |
294 | .El | | 285 | .El |
295 | .Ss One-time actions to perform or programs to run on boot-up | | 286 | .Ss One-time actions to perform or programs to run on boot-up |
296 | .Bl -tag -width net_interfaces | | 287 | .Bl -tag -width net_interfaces |
297 | .It Sy accounting | | 288 | .It Sy accounting |
298 | .Sq YES | | 289 | Boolean value. |
299 | or | | | |
300 | .Sq NO . | | | |
301 | Enables process accounting with | | 290 | Enables process accounting with |
302 | .Xr accton 8 . | | 291 | .Xr accton 8 . |
303 | Requires | | 292 | Requires |
304 | .Pa /var/account/acct | | 293 | .Pa /var/account/acct |
305 | to exist. | | 294 | to exist. |
306 | .It Sy clear_tmp | | 295 | .It Sy clear_tmp |
307 | .Sq YES | | 296 | Boolean value. |
308 | or | | | |
309 | .Sq NO . | | | |
310 | Clear /tmp after reboot. | | 297 | Clear /tmp after reboot. |
311 | .It Sy dmesg | | 298 | .It Sy dmesg |
312 | .Sq YES | | 299 | Boolean value. |
313 | or | | | |
314 | .Sq NO . | | | |
315 | Create | | 300 | Create |
316 | .Pa /var/run/dmesg.boot | | 301 | .Pa /var/run/dmesg.boot |
317 | from the output of | | 302 | from the output of |
318 | .Xr dmesg 8 . | | 303 | .Xr dmesg 8 . |
319 | Passes | | 304 | Passes |
320 | .Sy dmesg_flags . | | 305 | .Sy dmesg_flags . |
321 | .It Sy gpio | | 306 | .It Sy gpio |
322 | .Sq YES | | 307 | Boolean value. |
323 | or | | | |
324 | .Sq NO . | | | |
325 | Configure | | 308 | Configure |
326 | .Xr gpio 4 | | 309 | .Xr gpio 4 |
327 | devices . | | 310 | devices . |
328 | See | | 311 | See |
329 | .Xr gpio.conf 5 . | | 312 | .Xr gpio.conf 5 . |
330 | .It Sy mixerctl | | 313 | .It Sy mixerctl |
331 | .Sq YES | | 314 | Boolean value. |
332 | or | | | |
333 | .Sq NO . | | | |
334 | Read | | 315 | Read |
335 | .Xr mixerctl.conf 5 | | 316 | .Xr mixerctl.conf 5 |
336 | for how to set mixer values. | | 317 | for how to set mixer values. |
337 | List in | | 318 | List in |
338 | .Sy mixerctl_mixers | | 319 | .Sy mixerctl_mixers |
339 | the devices whose settings are to be saved at shutdown and | | 320 | the devices whose settings are to be saved at shutdown and |
340 | restored at start-up. | | 321 | restored at start-up. |
341 | .It Sy newsyslog | | 322 | .It Sy newsyslog |
342 | .Sq YES | | 323 | Boolean value. |
343 | or | | | |
344 | .Sq NO . | | | |
345 | Run | | 324 | Run |
346 | .Nm newsyslog | | 325 | .Nm newsyslog |
347 | to trim logfiles before syslogd starts. | | 326 | to trim logfiles before syslogd starts. |
348 | Intended for laptop users. | | 327 | Intended for laptop users. |
349 | Passes | | 328 | Passes |
350 | .Sy newsyslog_flags . | | 329 | .Sy newsyslog_flags . |
351 | .It Sy per_user_tmp | | 330 | .It Sy per_user_tmp |
352 | .Sq YES | | 331 | Boolean value. |
353 | or | | | |
354 | .Sq NO . | | | |
355 | Enables a per-user | | 332 | Enables a per-user |
356 | .Pa /tmp | | 333 | .Pa /tmp |
357 | directory. | | 334 | directory. |
358 | .Sy per_user_tmp_dir | | 335 | .Sy per_user_tmp_dir |
359 | can be used to override the default location of the | | 336 | can be used to override the default location of the |
360 | .Dq real | | 337 | .Dq real |
361 | temporary directories, | | 338 | temporary directories, |
362 | .Dq Pa /private/tmp . | | 339 | .Dq Pa /private/tmp . |
363 | .It Sy rndctl | | 340 | .It Sy rndctl |
364 | .Sq YES | | 341 | Boolean value. |
365 | or | | | |
366 | .Sq NO . | | | |
367 | Runs the | | 342 | Runs the |
368 | .Xr rndctl 8 | | 343 | .Xr rndctl 8 |
369 | utility one or more times according to the specification in | | 344 | utility one or more times according to the specification in |
370 | .Sy rndctl_flags . | | 345 | .Sy rndctl_flags . |
371 | .Pp | | 346 | .Pp |
372 | If | | 347 | If |
373 | .Sy rndctl_flags | | 348 | .Sy rndctl_flags |
374 | does not contain a semicolon | | 349 | does not contain a semicolon |
375 | .Pq Ql \&; | | 350 | .Pq Ql \&; |
376 | then it is expected to contain zero or more flags, | | 351 | then it is expected to contain zero or more flags, |
377 | followed by one or more device or type names. | | 352 | followed by one or more device or type names. |
378 | The | | 353 | The |
379 | .Xr rndctl 8 | | 354 | .Xr rndctl 8 |
| @@ -400,70 +375,60 @@ not type names. | | | @@ -400,70 +375,60 @@ not type names. |
400 | .Sy rndctl_flags | | 375 | .Sy rndctl_flags |
401 | may contain multiple semicolon-separated segments, in which each | | 376 | may contain multiple semicolon-separated segments, in which each |
402 | segment contains flags and device or type names as described above. | | 377 | segment contains flags and device or type names as described above. |
403 | This allows different flags to be associated with different | | 378 | This allows different flags to be associated with different |
404 | device or type names. | | 379 | device or type names. |
405 | For example, given | | 380 | For example, given |
406 | .Li rndctl_flags="wd0 wd1; -t tty; -c -t net" , | | 381 | .Li rndctl_flags="wd0 wd1; -t tty; -c -t net" , |
407 | the following commands will be executed: | | 382 | the following commands will be executed: |
408 | .Li "rndctl -c -e -d wd0" ; | | 383 | .Li "rndctl -c -e -d wd0" ; |
409 | .Li "rndctl -c -e -d wd1" ; | | 384 | .Li "rndctl -c -e -d wd1" ; |
410 | .Li "rndctl -c -e -t tty" ; | | 385 | .Li "rndctl -c -e -t tty" ; |
411 | .Li "rndctl -c -t net" . | | 386 | .Li "rndctl -c -t net" . |
412 | .It Sy savecore | | 387 | .It Sy savecore |
413 | .Sq YES | | 388 | Boolean value. |
414 | or | | | |
415 | .Sq NO . | | | |
416 | Runs the | | 389 | Runs the |
417 | .Xr savecore 8 | | 390 | .Xr savecore 8 |
418 | utility. | | 391 | utility. |
419 | Passes | | 392 | Passes |
420 | .Sy savecore_flags . | | 393 | .Sy savecore_flags . |
421 | The directory where crash dumps are stored is specified by | | 394 | The directory where crash dumps are stored is specified by |
422 | .Sy savecore_dir . | | 395 | .Sy savecore_dir . |
423 | The default setting is | | 396 | The default setting is |
424 | .Dq Pa /var/crash . | | 397 | .Dq Pa /var/crash . |
425 | .It Sy tpctl | | 398 | .It Sy tpctl |
426 | .Sq YES | | 399 | Boolean value. |
427 | or | | | |
428 | .Sq NO . | | | |
429 | Run | | 400 | Run |
430 | .Xr tpctl 8 | | 401 | .Xr tpctl 8 |
431 | to calibrate touch panel device. | | 402 | to calibrate touch panel device. |
432 | Passes | | 403 | Passes |
433 | .Sy tpctl_flags . | | 404 | .Sy tpctl_flags . |
434 | .It Sy update_motd | | 405 | .It Sy update_motd |
435 | .Sq YES | | 406 | Boolean value. |
436 | or | | | |
437 | .Sq NO . | | | |
438 | Updates the | | 407 | Updates the |
439 | .Nx | | 408 | .Nx |
440 | version string in the | | 409 | version string in the |
441 | .Pa /etc/motd | | 410 | .Pa /etc/motd |
442 | file to reflect the version of the running kernel. | | 411 | file to reflect the version of the running kernel. |
443 | See | | 412 | See |
444 | .Xr motd 5 . | | 413 | .Xr motd 5 . |
445 | .It Sy veriexec | | 414 | .It Sy veriexec |
446 | .Sq YES | | 415 | Boolean value. |
447 | or | | | |
448 | .Sq NO . | | | |
449 | Load Veriexec fingerprints during startup. | | 416 | Load Veriexec fingerprints during startup. |
450 | Read | | 417 | Read |
451 | .Xr veriexecctl 8 | | 418 | .Xr veriexecctl 8 |
452 | for more information. | | 419 | for more information. |
453 | .It Sy virecover | | 420 | .It Sy virecover |
454 | .Sq YES | | 421 | Boolean value. |
455 | or | | | |
456 | .Sq NO . | | | |
457 | Send notification mail to users if any recoverable files exist in | | 422 | Send notification mail to users if any recoverable files exist in |
458 | .Pa /var/tmp/vi.recover . | | 423 | .Pa /var/tmp/vi.recover . |
459 | Read | | 424 | Read |
460 | .Xr virecover 8 | | 425 | .Xr virecover 8 |
461 | for more information. | | 426 | for more information. |
462 | .El | | 427 | .El |
463 | .Ss System security setting | | 428 | .Ss System security setting |
464 | .Bl -tag -width net_interfaces | | 429 | .Bl -tag -width net_interfaces |
465 | .It Sy securelevel | | 430 | .It Sy securelevel |
466 | A number. | | 431 | A number. |
467 | The system securelevel is set to the specified value early | | 432 | The system securelevel is set to the specified value early |
468 | in the boot process, before any external logins, or other programs | | 433 | in the boot process, before any external logins, or other programs |
469 | that run users job, are started. | | 434 | that run users job, are started. |
| @@ -501,66 +466,57 @@ A number. | | | @@ -501,66 +466,57 @@ A number. |
501 | Controls the verbosity of Veriexec. | | 466 | Controls the verbosity of Veriexec. |
502 | Recommended operation is at level 0, verbose output (mostly used when | | 467 | Recommended operation is at level 0, verbose output (mostly used when |
503 | building the signatures file) is at level 1. | | 468 | building the signatures file) is at level 1. |
504 | Level 2 is for debugging only and should not be used. | | 469 | Level 2 is for debugging only and should not be used. |
505 | .It Sy veriexec_flags | | 470 | .It Sy veriexec_flags |
506 | A string. | | 471 | A string. |
507 | Flags to pass to the | | 472 | Flags to pass to the |
508 | .Nm veriexecctl | | 473 | .Nm veriexecctl |
509 | command. | | 474 | command. |
510 | .El | | 475 | .El |
511 | .Ss Networking startup | | 476 | .Ss Networking startup |
512 | .Bl -tag -width net_interfaces | | 477 | .Bl -tag -width net_interfaces |
513 | .It Sy altqd | | 478 | .It Sy altqd |
514 | .Sq YES | | 479 | Boolean value. |
515 | or | | | |
516 | .Sq NO . | | | |
517 | ALTQ configuration/monitoring daemon. | | 480 | ALTQ configuration/monitoring daemon. |
518 | Passes | | 481 | Passes |
519 | .Sy altqd_flags . | | 482 | .Sy altqd_flags . |
520 | .It Sy auto_ifconfig | | 483 | .It Sy auto_ifconfig |
521 | .Sq YES | | 484 | Boolean value. |
522 | or | | | |
523 | .Sq NO . | | | |
524 | Sets the | | 485 | Sets the |
525 | .Sy net_interfaces | | 486 | .Sy net_interfaces |
526 | variable (see below) to the output of | | 487 | variable (see below) to the output of |
527 | .Xr ifconfig 8 | | 488 | .Xr ifconfig 8 |
528 | with the | | 489 | with the |
529 | .Dq Li -l | | 490 | .Dq Li -l |
530 | flag and suppresses warnings about interfaces in this list that | | 491 | flag and suppresses warnings about interfaces in this list that |
531 | do not have an ifconfig file or variable. | | 492 | do not have an ifconfig file or variable. |
532 | .It Sy dhclient | | 493 | .It Sy dhclient |
533 | .Sq YES | | 494 | Boolean value. |
534 | or | | 495 | Set true to configure some or all network interfaces using |
535 | .Sq NO . | | | |
536 | Set to | | | |
537 | .Sq YES | | | |
538 | to configure some or all network interfaces using | | | |
539 | the ISC DHCP client. | | 496 | the ISC DHCP client. |
540 | If you set | | 497 | If you set |
541 | .Sy dhclient | | 498 | .Sy dhclient |
542 | to | | 499 | true, then |
543 | .Sq YES , | | | |
544 | you must either have | | | |
545 | .Pa /var | | 500 | .Pa /var |
546 | in | | 501 | must be in |
547 | .Sy critical_filesystems_local , | | 502 | .Sy critical_filesystems_local , |
548 | as part of | | 503 | or |
549 | .Pa / , | | 504 | .Pa /var |
550 | or direct the DHCP client to store the leases file on the root | | 505 | must be on the root file system, |
551 | file system by modifying the | | 506 | or you must modify the |
552 | .Sy dhclient_flags | | 507 | .Sy dhclient_flags |
553 | variable. | | 508 | variable to direct the DHCP client to store the leases file |
| | | 509 | in some other directory on the root file system. |
554 | You must not provide ifconfig information or ifaliases | | 510 | You must not provide ifconfig information or ifaliases |
555 | information for any interface that is to be configured using the DHCP client. | | 511 | information for any interface that is to be configured using the DHCP client. |
556 | Interface aliases can be set up in the DHCP client configuration | | 512 | Interface aliases can be set up in the DHCP client configuration |
557 | file if needed - see | | 513 | file if needed - see |
558 | .Xr dhclient.conf 5 | | 514 | .Xr dhclient.conf 5 |
559 | for details. | | 515 | for details. |
560 | .Pp | | 516 | .Pp |
561 | Passes | | 517 | Passes |
562 | .Sy dhclient_flags | | 518 | .Sy dhclient_flags |
563 | to the DHCP client. | | 519 | to the DHCP client. |
564 | See | | 520 | See |
565 | .Xr dhclient 8 | | 521 | .Xr dhclient 8 |
566 | for complete documentation. | | 522 | for complete documentation. |
| @@ -572,65 +528,59 @@ on the command line. | | | @@ -572,65 +528,59 @@ on the command line. |
572 | If you must run the DHCP client before mounting critical file systems, | | 528 | If you must run the DHCP client before mounting critical file systems, |
573 | then you should specify an alternate location for the DHCP client's lease | | 529 | then you should specify an alternate location for the DHCP client's lease |
574 | file in the | | 530 | file in the |
575 | .Sy dhclient_flags | | 531 | .Sy dhclient_flags |
576 | variable - for example, "-lf /tmp/dhclient.leases". | | 532 | variable - for example, "-lf /tmp/dhclient.leases". |
577 | .It Sy dhcpcd_flags | | 533 | .It Sy dhcpcd_flags |
578 | Additional arguments to pass to | | 534 | Additional arguments to pass to |
579 | .Xr dhcpcd 8 | | 535 | .Xr dhcpcd 8 |
580 | when requesting configuration via | | 536 | when requesting configuration via |
581 | .Sy ifconfig_xxN | | 537 | .Sy ifconfig_xxN |
582 | or | | 538 | or |
583 | .Pa /etc/ifconfig.xxN . | | 539 | .Pa /etc/ifconfig.xxN . |
584 | .It Sy flushroutes | | 540 | .It Sy flushroutes |
585 | .Sq YES | | 541 | Boolean value. |
586 | or | | | |
587 | .Sq NO . | | | |
588 | Flushes the route table on networking startup. | | 542 | Flushes the route table on networking startup. |
589 | Useful when coming up to multiuser mode after going down to | | 543 | Useful when coming up to multiuser mode after going down to |
590 | single-user mode. | | 544 | single-user mode. |
591 | .It Sy hostapd | | 545 | .It Sy hostapd |
592 | .Sq YES | | 546 | Boolean value. |
593 | or | | | |
594 | .Sq NO . | | | |
595 | Runs | | 547 | Runs |
596 | .Xr hostapd 8 , | | 548 | .Xr hostapd 8 , |
597 | the authenticator for IEEE 802.11 networks. | | 549 | the authenticator for IEEE 802.11 networks. |
598 | .It Sy ifaliases_* | | 550 | .It Sy ifaliases_* |
599 | A string. | | 551 | A string. |
600 | List of | | 552 | List of |
601 | .Sq Em "address netmask" | | 553 | .Sq Em "address netmask" |
602 | pairs to configure additional network addresses for the given | | 554 | pairs to configure additional network addresses for the given |
603 | configured interface | | 555 | configured interface |
604 | .Dq * | | 556 | .Dq * |
605 | (e.g. | | 557 | (e.g. |
606 | .Sy ifaliases_le0 ) . | | 558 | .Sy ifaliases_le0 ) . |
607 | If | | 559 | If |
608 | .Em netmask | | 560 | .Em netmask |
609 | is | | 561 | is |
610 | .Dq - , | | 562 | .Dq - , |
611 | then use the default netmask for the interface. | | 563 | then use the default netmask for the interface. |
612 | .Pp | | 564 | .Pp |
613 | .Sy ifaliases_* | | 565 | .Sy ifaliases_* |
614 | covers limited cases only and considered unrecommended. | | 566 | covers limited cases only and considered unrecommended. |
615 | We recommend using | | 567 | We recommend using |
616 | .Sy ifconfig_nnX | | 568 | .Sy ifconfig_nnX |
617 | variables or | | 569 | variables or |
618 | .Pa /etc/ifconfig.xxN | | 570 | .Pa /etc/ifconfig.xxN |
619 | files with multiple lines instead. | | 571 | files with multiple lines instead. |
620 | .It Sy ifwatchd | | 572 | .It Sy ifwatchd |
621 | .Sq YES | | 573 | Boolean value. |
622 | or | | | |
623 | .Sq NO . | | | |
624 | Monitor dynamic interfaces and perform actions upon address changes. | | 574 | Monitor dynamic interfaces and perform actions upon address changes. |
625 | Passes | | 575 | Passes |
626 | .Sy ifwatchd_flags . | | 576 | .Sy ifwatchd_flags . |
627 | .It Sy ip6mode | | 577 | .It Sy ip6mode |
628 | A string. | | 578 | A string. |
629 | An IPv6 node can be a router | | 579 | An IPv6 node can be a router |
630 | .Pq nodes that forward packet for others | | 580 | .Pq nodes that forward packet for others |
631 | or a host | | 581 | or a host |
632 | .Pq nodes that do not forward . | | 582 | .Pq nodes that do not forward . |
633 | A host can be autoconfigured | | 583 | A host can be autoconfigured |
634 | based on the information advertised by adjacent IPv6 routers. | | 584 | based on the information advertised by adjacent IPv6 routers. |
635 | By setting | | 585 | By setting |
636 | .Sy ip6mode | | 586 | .Sy ip6mode |
| @@ -640,72 +590,63 @@ to | | | @@ -640,72 +590,63 @@ to |
640 | or | | 590 | or |
641 | .Dq Li autohost , | | 591 | .Dq Li autohost , |
642 | you can configure your node as a router, | | 592 | you can configure your node as a router, |
643 | a non-autoconfigured host, or an autoconfigured host. | | 593 | a non-autoconfigured host, or an autoconfigured host. |
644 | Invalid values will be ignored, and the node will be configured as | | 594 | Invalid values will be ignored, and the node will be configured as |
645 | a non-autoconfigured host. | | 595 | a non-autoconfigured host. |
646 | You may want to check | | 596 | You may want to check |
647 | .Sy rtsol | | 597 | .Sy rtsol |
648 | and | | 598 | and |
649 | .Sy rtsold | | 599 | .Sy rtsold |
650 | as well, if you set the variable to | | 600 | as well, if you set the variable to |
651 | .Dq Li autohost . | | 601 | .Dq Li autohost . |
652 | .It Sy ip6uniquelocal | | 602 | .It Sy ip6uniquelocal |
653 | .Sq YES | | 603 | Boolean value. |
654 | or | | | |
655 | .Sq NO . | | | |
656 | If | | 604 | If |
657 | .Sy ip6mode | | 605 | .Sy ip6mode |
658 | is equal to | | 606 | is equal to |
659 | .Dq Li router | | 607 | .Dq Li router , |
660 | and | | 608 | and |
661 | .Sy ip6uniquelocal | | 609 | .Sy ip6uniquelocal |
662 | is set to | | 610 | is false, |
663 | .Sq NO | | | |
664 | a reject route will be installed on boot to avoid misconfiguration relating | | 611 | a reject route will be installed on boot to avoid misconfiguration relating |
665 | to unique-local addresses. | | 612 | to unique-local addresses. |
666 | If set to | | 613 | If |
667 | .Sq YES | | 614 | .Sy ip6uniquelocal |
668 | the reject route won't be installed. | | 615 | is true, the reject route won't be installed. |
669 | .It Sy ipfilter | | 616 | .It Sy ipfilter |
670 | .Sq YES | | 617 | Boolean value. |
671 | or | | | |
672 | .Sq NO . | | | |
673 | Runs | | 618 | Runs |
674 | .Xr ipf 8 | | 619 | .Xr ipf 8 |
675 | to load in packet filter specifications from | | 620 | to load in packet filter specifications from |
676 | .Pa /etc/ipf.conf | | 621 | .Pa /etc/ipf.conf |
677 | at network boot time, before any interfaces are configured. | | 622 | at network boot time, before any interfaces are configured. |
678 | Passes | | 623 | Passes |
679 | .Sy ipfilter_flags . | | 624 | .Sy ipfilter_flags . |
680 | See | | 625 | See |
681 | .Xr ipf.conf 5 . | | 626 | .Xr ipf.conf 5 . |
682 | .It Sy ipfs | | 627 | .It Sy ipfs |
683 | .Sq YES | | 628 | Boolean value. |
684 | or | | | |
685 | .Sq NO . | | | |
686 | Runs | | 629 | Runs |
687 | .Xr ipfs 8 | | 630 | .Xr ipfs 8 |
688 | to save and restore information for ipnat and ipfilter state tables. | | 631 | to save and restore information for ipnat and ipfilter state tables. |
689 | The information is stored in | | 632 | The information is stored in |
690 | .Pa /var/db/ipf/ipstate.ipf | | 633 | .Pa /var/db/ipf/ipstate.ipf |
691 | and | | 634 | and |
692 | .Pa /var/db/ipf/ipnat.ipf . | | 635 | .Pa /var/db/ipf/ipnat.ipf . |
693 | Passes | | 636 | Passes |
694 | .Sy ipfs_flags . | | 637 | .Sy ipfs_flags . |
695 | .It Sy ipmon | | 638 | .It Sy ipmon |
696 | .Sq YES | | 639 | Boolean value. |
697 | or | | | |
698 | .Sq NO . | | | |
699 | Runs | | 640 | Runs |
700 | .Xr ipmon 8 | | 641 | .Xr ipmon 8 |
701 | to read | | 642 | to read |
702 | .Xr ipf 8 | | 643 | .Xr ipf 8 |
703 | packet log information and log it to a file or the system log. | | 644 | packet log information and log it to a file or the system log. |
704 | Passes | | 645 | Passes |
705 | .Sy ipmon_flags . | | 646 | .Sy ipmon_flags . |
706 | .It Sy ipmon_flags | | 647 | .It Sy ipmon_flags |
707 | A string. | | 648 | A string. |
708 | Specifies arguments to supply to | | 649 | Specifies arguments to supply to |
709 | .Xr ipmon 8 . | | 650 | .Xr ipmon 8 . |
710 | Defaults to | | 651 | Defaults to |
711 | .Dq Li -ns . | | 652 | .Dq Li -ns . |
| @@ -714,790 +655,663 @@ A typical example would be | | | @@ -714,790 +655,663 @@ A typical example would be |
714 | to have | | 655 | to have |
715 | .Xr ipmon 8 | | 656 | .Xr ipmon 8 |
716 | log directly to a file bypassing | | 657 | log directly to a file bypassing |
717 | .Xr syslogd 8 . | | 658 | .Xr syslogd 8 . |
718 | If the | | 659 | If the |
719 | .Dq -D | | 660 | .Dq -D |
720 | argument is used, remember to modify | | 661 | argument is used, remember to modify |
721 | .Pa /etc/newsyslog.conf | | 662 | .Pa /etc/newsyslog.conf |
722 | accordingly; for example: | | 663 | accordingly; for example: |
723 | .Bd -literal | | 664 | .Bd -literal |
724 | /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid | | 665 | /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid |
725 | .Ed | | 666 | .Ed |
726 | .It Sy ipnat | | 667 | .It Sy ipnat |
727 | .Sq YES | | 668 | Boolean value. |
728 | or | | | |
729 | .Sq NO . | | | |
730 | Runs | | 669 | Runs |
731 | .Xr ipnat 8 | | 670 | .Xr ipnat 8 |
732 | to load in the IP network address translation (NAT) rules from | | 671 | to load in the IP network address translation (NAT) rules from |
733 | .Pa /etc/ipnat.conf | | 672 | .Pa /etc/ipnat.conf |
734 | at network boot time, before any interfaces are configured. | | 673 | at network boot time, before any interfaces are configured. |
735 | See | | 674 | See |
736 | .Xr ipnat.conf 5 . | | 675 | .Xr ipnat.conf 5 . |
737 | .It Sy ipsec | | 676 | .It Sy ipsec |
738 | .Sq YES | | 677 | Boolean value. |
739 | or | | | |
740 | .Sq NO . | | | |
741 | Runs | | 678 | Runs |
742 | .Xr setkey 8 | | 679 | .Xr setkey 8 |
743 | to load in IPsec manual keys and policies from | | 680 | to load in IPsec manual keys and policies from |
744 | .Pa /etc/ipsec.conf | | 681 | .Pa /etc/ipsec.conf |
745 | at network boot time, before any interfaces are configured. | | 682 | at network boot time, before any interfaces are configured. |
746 | .It Sy net_interfaces | | 683 | .It Sy net_interfaces |
747 | A string. | | 684 | A string. |
748 | The list of network interfaces to be configured at boot time. | | 685 | The list of network interfaces to be configured at boot time. |
749 | For each interface "xxN", the system first looks for ifconfig | | 686 | For each interface "xxN", the system first looks for ifconfig |
750 | parameters in the variable | | 687 | parameters in the variable |
751 | .Sy ifconfig_xxN , | | 688 | .Sy ifconfig_xxN , |
752 | and then in the file | | 689 | and then in the file |
753 | .Pa /etc/ifconfig.xxN . | | 690 | .Pa /etc/ifconfig.xxN . |
754 | If | | 691 | If |
755 | .Sy auto_ifconfig | | 692 | .Sy auto_ifconfig |
756 | is set to "NO" and neither the file nor the variable is found, | | 693 | is false, and neither the variable nor the file is found, |
757 | a warning is printed. | | 694 | a warning is printed. |
758 | Information in either the variable or the file is parsed identically, | | 695 | Information in either the variable or the file is parsed identically, |
759 | except that, if an | | 696 | except that, if an |
760 | .Sy ifconfig_xxN | | 697 | .Sy ifconfig_xxN |
761 | variable contains a single line with embedded semicolons, | | 698 | variable contains a single line with embedded semicolons, |
762 | then the value is split into multiple lines prior to further parsing, | | 699 | then the value is split into multiple lines prior to further parsing, |
763 | treating the semicolon as a line separator. | | 700 | treating the semicolon as a line separator. |
764 | One common case it to set | | 701 | One common case it to set |
765 | .Sy ifconfig_xxN Ns Li \&= Ns Qq dhcp , | | 702 | .Sy ifconfig_xxN Ns Li \&= Ns Qq dhcp , |
766 | which will cause | | 703 | which will cause |
767 | .Xr dhcpcd 8 | | 704 | .Xr dhcpcd 8 |
768 | to be started for the interface. | | 705 | to be started for the interface. |
769 | Another common case it to set the | | 706 | Another common case it to set the |
770 | .Sy ifconfig_xxN | | 707 | .Sy ifconfig_xxN |
771 | variable to a set of arguments to be passed to an | | 708 | variable to a set of arguments to be passed to an |
772 | .Xr ifconfig 8 | | 709 | .Xr ifconfig 8 |
773 | command after the interface name. | | 710 | command after the interface name. |
774 | Refer to | | 711 | Refer to |
775 | .Xr ifconfig.if 5 | | 712 | .Xr ifconfig.if 5 |
776 | for more details on | | 713 | for more details on |
777 | .Pa /etc/ifconfig.xxN | | 714 | .Pa /etc/ifconfig.xxN |
778 | files, and note that the information there also applies to | | 715 | files, and note that the information there also applies to |
779 | .Sy ifconfig_xxN | | 716 | .Sy ifconfig_xxN |
780 | variables (after the variables are split into lines). | | 717 | variables (after the variables are split into lines). |
781 | .It Sy ntpdate | | 718 | .It Sy ntpdate |
782 | .Sq YES | | 719 | Boolean value. |
783 | or | | | |
784 | .Sq NO . | | | |
785 | Runs | | 720 | Runs |
786 | .Xr ntpdate 8 | | 721 | .Xr ntpdate 8 |
787 | to set the system time from one of the hosts in | | 722 | to set the system time from one of the hosts in |
788 | .Sy ntpdate_hosts . | | 723 | .Sy ntpdate_hosts . |
789 | If | | 724 | If |
790 | .Sy ntpdate_hosts | | 725 | .Sy ntpdate_hosts |
791 | is empty, it will attempt to find a list of hosts in | | 726 | is empty, it will attempt to find a list of hosts in |
792 | .Pa /etc/ntp.conf . | | 727 | .Pa /etc/ntp.conf . |
793 | Passes | | 728 | Passes |
794 | .Sy ntpdate_flags . | | 729 | .Sy ntpdate_flags . |
795 | .It Sy pf | | 730 | .It Sy pf |
796 | .Sq YES | | 731 | Boolean value. |
797 | or | | | |
798 | .Sq NO . | | | |
799 | Enable | | 732 | Enable |
800 | .Xr pf 4 | | 733 | .Xr pf 4 |
801 | at network boot time: | | 734 | at network boot time: |
802 | Load the initial configuration | | 735 | Load the initial configuration |
803 | .Xr pf.boot.conf 5 | | 736 | .Xr pf.boot.conf 5 |
804 | before the network is up. | | 737 | before the network is up. |
805 | After the network has been configured, then load the final ruleset | | 738 | After the network has been configured, then load the final ruleset |
806 | .Xr pf.conf 5 . | | 739 | .Xr pf.conf 5 . |
807 | .It Sy pf_rules | | 740 | .It Sy pf_rules |
808 | A string. | | 741 | A string. |
809 | The path of the | | 742 | The path of the |
810 | .Xr pf.conf 5 | | 743 | .Xr pf.conf 5 |
811 | ruleset that will be used when loading the final ruleset. | | 744 | ruleset that will be used when loading the final ruleset. |
812 | .It Sy pflogd | | 745 | .It Sy pflogd |
813 | .Sq YES | | 746 | Boolean value. |
814 | or | | | |
815 | .Sq NO . | | | |
816 | Run | | 747 | Run |
817 | .Xr pflogd 8 | | 748 | .Xr pflogd 8 |
818 | for dumping packet filter logging information to a file. | | 749 | for dumping packet filter logging information to a file. |
819 | .It Sy ppp_peers | | 750 | .It Sy ppp_peers |
820 | A string. | | 751 | A string. |
821 | If | | 752 | If |
822 | .Sy ppp_peers | | 753 | .Sy ppp_peers |
823 | is not empty, then | | 754 | is not empty, then |
824 | .Pa /etc/rc.d/ppp | | 755 | .Pa /etc/rc.d/ppp |
825 | will check each word in | | 756 | will check each word in |
826 | .Sy ppp_peers | | 757 | .Sy ppp_peers |
827 | for a corresponding ppp configuration file in | | 758 | for a corresponding ppp configuration file in |
828 | .Pa /etc/ppp/peers | | 759 | .Pa /etc/ppp/peers |
829 | and will call | | 760 | and will call |
830 | .Xr pppd 8 | | 761 | .Xr pppd 8 |
831 | with the | | 762 | with the |
832 | .Dq call Sy peer | | 763 | .Dq call Sy peer |
833 | option. | | 764 | option. |
834 | .It Sy racoon | | 765 | .It Sy racoon |
835 | .Sq YES | | 766 | Boolean value. |
836 | or | | | |
837 | .Sq NO . | | | |
838 | Runs | | 767 | Runs |
839 | .Xr racoon 8 , | | 768 | .Xr racoon 8 , |
840 | the IKE (ISAKMP/Oakley) key management daemon. | | 769 | the IKE (ISAKMP/Oakley) key management daemon. |
841 | .It Sy rtsol | | 770 | .It Sy rtsol |
842 | .Sq YES | | 771 | Boolean value. |
843 | or | | | |
844 | .Sq NO . | | | |
845 | Run | | 772 | Run |
846 | .Xr rtsol 8 , | | 773 | .Xr rtsol 8 , |
847 | router solicitation command for IPv6 hosts. | | 774 | router solicitation command for IPv6 hosts. |
848 | On nomadic hosts like notebook computers, you may want to enable | | 775 | On nomadic hosts like notebook computers, you may want to enable |
849 | .Sy rtsold | | 776 | .Sy rtsold |
850 | as well. | | 777 | as well. |
851 | Passes | | 778 | Passes |
852 | .Sy rtsol_flags . | | 779 | .Sy rtsol_flags . |
853 | This is only for autoconfigured IPv6 hosts, so set | | 780 | This is only for autoconfigured IPv6 hosts, so set |
854 | .Sy ip6mode | | 781 | .Sy ip6mode |
855 | to | | 782 | to |
856 | .Dq Li autohost | | 783 | .Dq Li autohost |
857 | if you use it. | | 784 | if you use it. |
858 | .It Sy wpa_supplicant | | 785 | .It Sy wpa_supplicant |
859 | .Sq YES | | 786 | Boolean value. |
860 | or | | | |
861 | .Sq NO . | | | |
862 | Run | | 787 | Run |
863 | .Xr wpa_supplicant 8 , | | 788 | .Xr wpa_supplicant 8 , |
864 | WPA/802.11i Supplicant for wireless network devices. | | 789 | WPA/802.11i Supplicant for wireless network devices. |
865 | .El | | 790 | .El |
866 | .Ss Daemons required by other daemons | | 791 | .Ss Daemons required by other daemons |
867 | .Bl -tag -width net_interfaces | | 792 | .Bl -tag -width net_interfaces |
868 | .It Sy inetd | | 793 | .It Sy inetd |
869 | .Sq YES | | 794 | Boolean value. |
870 | or | | | |
871 | .Sq NO . | | | |
872 | Runs the | | 795 | Runs the |
873 | .Xr inetd 8 | | 796 | .Xr inetd 8 |
874 | daemon to start network server processes (as listed in | | 797 | daemon to start network server processes (as listed in |
875 | .Pa /etc/inetd.conf ) | | 798 | .Pa /etc/inetd.conf ) |
876 | as necessary. | | 799 | as necessary. |
877 | Passes | | 800 | Passes |
878 | .Sy inetd_flags . | | 801 | .Sy inetd_flags . |
879 | The | | 802 | The |
880 | .Dq Li -l | | 803 | .Dq Li -l |
881 | flag turns on libwrap connection logging. | | 804 | flag turns on libwrap connection logging. |
882 | .It Sy rpcbind | | 805 | .It Sy rpcbind |
883 | .Sq YES | | 806 | Boolean value. |
884 | or | | | |
885 | .Sq NO . | | | |
886 | The | | 807 | The |
887 | .Xr rpcbind 8 | | 808 | .Xr rpcbind 8 |
888 | daemon is required for any | | 809 | daemon is required for any |
889 | .Xr rpc 3 | | 810 | .Xr rpc 3 |
890 | services. | | 811 | services. |
891 | These include NFS, | | 812 | These include NFS, |
892 | .Tn NIS , | | 813 | .Tn NIS , |
893 | .Xr bootparamd 8 , | | 814 | .Xr bootparamd 8 , |
894 | .Xr rstatd 8 , | | 815 | .Xr rstatd 8 , |
895 | .Xr rusersd 8 , | | 816 | .Xr rusersd 8 , |
896 | and | | 817 | and |
897 | .Xr rwalld 8 . | | 818 | .Xr rwalld 8 . |
898 | Passes | | 819 | Passes |
899 | .Sy rpcbind_flags . | | 820 | .Sy rpcbind_flags . |
900 | .El | | 821 | .El |
901 | .Ss Commonly used daemons | | 822 | .Ss Commonly used daemons |
902 | .Bl -tag -width net_interfaces | | 823 | .Bl -tag -width net_interfaces |
903 | .It Sy cron | | 824 | .It Sy cron |
904 | .Sq YES | | 825 | Boolean value. |
905 | or | | | |
906 | .Sq NO . | | | |
907 | Run | | 826 | Run |
908 | .Xr cron 8 . | | 827 | .Xr cron 8 . |
909 | .It Sy httpd | | 828 | .It Sy httpd |
910 | .Sq YES | | 829 | Boolean value. |
911 | or | | | |
912 | .Sq NO . | | | |
913 | Runs the | | 830 | Runs the |
914 | .Xr httpd 8 | | 831 | .Xr httpd 8 |
915 | daemon and passes | | 832 | daemon and passes |
916 | .Sy httpd_flags . | | 833 | .Sy httpd_flags . |
917 | .It Sy httpd_wwwdir | | 834 | .It Sy httpd_wwwdir |
918 | A string. | | 835 | A string. |
919 | The | | 836 | The |
920 | .Xr httpd 8 | | 837 | .Xr httpd 8 |
921 | WWW root directory. | | 838 | WWW root directory. |
922 | Used only if | | 839 | Used only if |
923 | .Sy httpd | | 840 | .Sy httpd |
924 | is set to | | 841 | is true. |
925 | .Sq YES . | | | |
926 | The default setting is | | 842 | The default setting is |
927 | .Dq Pa /var/www . | | 843 | .Dq Pa /var/www . |
928 | .It Sy httpd_wwwuser | | 844 | .It Sy httpd_wwwuser |
929 | A string. | | 845 | A string. |
930 | If non-blank and | | 846 | If non-blank and |
931 | .Sy httpd | | 847 | .Sy httpd |
932 | is | | 848 | is true, run |
933 | .Sq YES , | | | |
934 | run | | | |
935 | .Xr httpd 8 | | 849 | .Xr httpd 8 |
936 | and cause it to switch to the specified user after initialization. | | 850 | and cause it to switch to the specified user after initialization. |
937 | It is preferred to | | 851 | It is preferred to |
938 | .Sy httpd_user | | 852 | .Sy httpd_user |
939 | because | | 853 | because |
940 | .Xr httpd 8 | | 854 | .Xr httpd 8 |
941 | is requiring extra privileges to start listening on default port 80. | | 855 | is requiring extra privileges to start listening on default port 80. |
942 | The default setting is | | 856 | The default setting is |
943 | .Dq Dv _httpd . | | 857 | .Dq Dv _httpd . |
944 | .It Sy lpd | | 858 | .It Sy lpd |
945 | .Sq YES | | 859 | Boolean value. |
946 | or | | | |
947 | .Sq NO . | | | |
948 | Runs | | 860 | Runs |
949 | .Xr lpd 8 | | 861 | .Xr lpd 8 |
950 | and passes | | 862 | and passes |
951 | .Sy lpd_flags . | | 863 | .Sy lpd_flags . |
952 | The | | 864 | The |
953 | .Dq Li -l | | 865 | .Dq Li -l |
954 | flag will turn on extra logging. | | 866 | flag will turn on extra logging. |
955 | .It Sy named | | 867 | .It Sy named |
956 | .Sq YES | | 868 | Boolean value. |
957 | or | | | |
958 | .Sq NO . | | | |
959 | Runs | | 869 | Runs |
960 | .Xr named 8 | | 870 | .Xr named 8 |
961 | and passes | | 871 | and passes |
962 | .Sy named_flags . | | 872 | .Sy named_flags . |
963 | .It Sy named_chrootdir | | 873 | .It Sy named_chrootdir |
964 | A string. | | 874 | A string. |
965 | If non-blank and | | 875 | If non-blank and |
966 | .Sy named | | 876 | .Sy named |
967 | is | | 877 | is true, run |
968 | .Sq YES , | | | |
969 | run | | | |
970 | .Xr named 8 | | 878 | .Xr named 8 |
971 | as the unprivileged user and group | | 879 | as the unprivileged user and group |
972 | .Sq named , | | 880 | .Sq named , |
973 | .Xr chroot 2 Ns ed | | 881 | .Xr chroot 2 Ns ed |
974 | to | | 882 | to |
975 | .Sy named_chrootdir . | | 883 | .Sy named_chrootdir . |
976 | .Sy named_chrootdir Ns Pa /var/run/log | | 884 | .Sy named_chrootdir Ns Pa /var/run/log |
977 | will be added to the list of log sockets that | | 885 | will be added to the list of log sockets that |
978 | .Xr syslogd 8 | | 886 | .Xr syslogd 8 |
979 | listens to. | | 887 | listens to. |
980 | .It Sy ntpd | | 888 | .It Sy ntpd |
981 | .Sq YES | | 889 | Boolean value. |
982 | or | | | |
983 | .Sq NO . | | | |
984 | Runs | | 890 | Runs |
985 | .Xr ntpd 8 | | 891 | .Xr ntpd 8 |
986 | and passes | | 892 | and passes |
987 | .Sy ntpd_flags . | | 893 | .Sy ntpd_flags . |
988 | .It Sy ntpd_chrootdir | | 894 | .It Sy ntpd_chrootdir |
989 | A string. | | 895 | A string. |
990 | If non-blank and | | 896 | If non-blank and |
991 | .Sy ntpd | | 897 | .Sy ntpd |
992 | is | | 898 | is true, run |
993 | .Sq YES , | | | |
994 | run | | | |
995 | .Xr ntpd 8 | | 899 | .Xr ntpd 8 |
996 | as the unprivileged user and group | | 900 | as the unprivileged user and group |
997 | .Sq ntpd , | | 901 | .Sq ntpd , |
998 | .Xr chroot 2 Ns ed | | 902 | .Xr chroot 2 Ns ed |
999 | to | | 903 | to |
1000 | .Sy ntpd_chrootdir . | | 904 | .Sy ntpd_chrootdir . |
1001 | .Sy ntpd_chrootdir Ns Pa /var/run/log | | 905 | .Sy ntpd_chrootdir Ns Pa /var/run/log |
1002 | will be added to the list of log sockets that | | 906 | will be added to the list of log sockets that |
1003 | .Xr syslogd 8 | | 907 | .Xr syslogd 8 |
1004 | listens to. | | 908 | listens to. |
1005 | This option requires that the kernel has | | 909 | This option requires that the kernel has |
1006 | .Dl pseudo-device clockctl | | 910 | .Dl pseudo-device clockctl |
1007 | compiled in, and that | | 911 | compiled in, and that |
1008 | .Pa /dev/clockctl | | 912 | .Pa /dev/clockctl |
1009 | is present. | | 913 | is present. |
1010 | .It Sy postfix | | 914 | .It Sy postfix |
1011 | .Sq YES | | 915 | Boolean value. |
1012 | or | | | |
1013 | .Sq NO . | | | |
1014 | Starts | | 916 | Starts |
1015 | .Xr postfix 1 | | 917 | .Xr postfix 1 |
1016 | mail system. | | 918 | mail system. |
1017 | .It Sy sshd | | 919 | .It Sy sshd |
1018 | .Sq YES | | 920 | Boolean value. |
1019 | or | | | |
1020 | .Sq NO . | | | |
1021 | Runs | | 921 | Runs |
1022 | .Xr sshd 8 | | 922 | .Xr sshd 8 |
1023 | and passes | | 923 | and passes |
1024 | .Sy sshd_flags . | | 924 | .Sy sshd_flags . |
1025 | .It Sy syslogd | | 925 | .It Sy syslogd |
1026 | .Sq YES | | 926 | Boolean value. |
1027 | or | | | |
1028 | .Sq NO . | | | |
1029 | Runs | | 927 | Runs |
1030 | .Xr syslogd 8 | | 928 | .Xr syslogd 8 |
1031 | and passes | | 929 | and passes |
1032 | .Sy syslogd_flags . | | 930 | .Sy syslogd_flags . |
1033 | .It Sy timed | | 931 | .It Sy timed |
1034 | .Sq YES | | 932 | Boolean value. |
1035 | or | | | |
1036 | .Sq NO . | | | |
1037 | Runs | | 933 | Runs |
1038 | .Xr timed 8 | | 934 | .Xr timed 8 |
1039 | and passes | | 935 | and passes |
1040 | .Sy timed_flags . | | 936 | .Sy timed_flags . |
1041 | The | | 937 | The |
1042 | .Dq Li -M | | 938 | .Dq Li -M |
1043 | option allows | | 939 | option allows |
1044 | .Xr timed 8 | | 940 | .Xr timed 8 |
1045 | to be a master time source as well as a slave. | | 941 | to be a master time source as well as a slave. |
1046 | If you are also running | | 942 | If you are also running |
1047 | .Xr ntpd 8 , | | 943 | .Xr ntpd 8 , |
1048 | only one machine running both should have the | | 944 | only one machine running both should have the |
1049 | .Dq Li -M | | 945 | .Dq Li -M |
1050 | flag given to | | 946 | flag given to |
1051 | .Xr timed 8 . | | 947 | .Xr timed 8 . |
1052 | .El | | 948 | .El |
1053 | .Ss Routing daemons | | 949 | .Ss Routing daemons |
1054 | .Bl -tag -width net_interfaces | | 950 | .Bl -tag -width net_interfaces |
1055 | .It Sy mrouted | | 951 | .It Sy mrouted |
1056 | .Sq YES | | 952 | Boolean value. |
1057 | or | | | |
1058 | .Sq NO . | | | |
1059 | Runs | | 953 | Runs |
1060 | .Xr mrouted 8 , | | 954 | .Xr mrouted 8 , |
1061 | the DVMRP multicast routing protocol daemon. | | 955 | the DVMRP multicast routing protocol daemon. |
1062 | Passes | | 956 | Passes |
1063 | .Sy mrouted_flags . | | 957 | .Sy mrouted_flags . |
1064 | .It Sy route6d | | 958 | .It Sy route6d |
1065 | .Sq YES | | 959 | Boolean value. |
1066 | or | | | |
1067 | .Sq NO . | | | |
1068 | Runs | | 960 | Runs |
1069 | .Xr route6d 8 , | | 961 | .Xr route6d 8 , |
1070 | the RIPng routing protocol daemon for IPv6. | | 962 | the RIPng routing protocol daemon for IPv6. |
1071 | Passes | | 963 | Passes |
1072 | .Sy route6d_flags . | | 964 | .Sy route6d_flags . |
1073 | .It Sy routed | | 965 | .It Sy routed |
1074 | .Sq YES | | 966 | Boolean value. |
1075 | or | | | |
1076 | .Sq NO . | | | |
1077 | Runs | | 967 | Runs |
1078 | .Xr routed 8 , | | 968 | .Xr routed 8 , |
1079 | the RIP routing protocol daemon. | | 969 | the RIP routing protocol daemon. |
1080 | Passes | | 970 | Passes |
1081 | .Sy routed_flags . | | 971 | .Sy routed_flags . |
1082 | .\" This should be | | 972 | .\" This should be false |
1083 | .\" .Sq NO | | | |
1084 | .\" if | | 973 | .\" if |
1085 | .\" .Sy gated | | 974 | .\" .Sy gated |
1086 | .\" is | | 975 | .\" is true. |
1087 | .\" .Sq YES . | | | |
1088 | .It Sy rtsold | | 976 | .It Sy rtsold |
1089 | .Sq YES | | 977 | Boolean value. |
1090 | or | | | |
1091 | .Sq NO . | | | |
1092 | Runs | | 978 | Runs |
1093 | .Xr rtsold 8 , | | 979 | .Xr rtsold 8 , |
1094 | the IPv6 router solicitation daemon. | | 980 | the IPv6 router solicitation daemon. |
1095 | .Xr rtsold 8 | | 981 | .Xr rtsold 8 |
1096 | periodically transmits router solicitation packets | | 982 | periodically transmits router solicitation packets |
1097 | to find IPv6 routers on the network. | | 983 | to find IPv6 routers on the network. |
1098 | This configuration is mainly for nomadic hosts like notebook computers. | | 984 | This configuration is mainly for nomadic hosts like notebook computers. |
1099 | Stationary hosts should work fine with just | | 985 | Stationary hosts should work fine with just |
1100 | .Sy rtsol . | | 986 | .Sy rtsol . |
1101 | Passes | | 987 | Passes |
1102 | .Sy rtsold_flags . | | 988 | .Sy rtsold_flags . |
1103 | This is only for autoconfigured IPv6 hosts, so set | | 989 | This is only for autoconfigured IPv6 hosts, so set |
1104 | .Sy ip6mode | | 990 | .Sy ip6mode |
1105 | to | | 991 | to |
1106 | .Dq Li autohost | | 992 | .Dq Li autohost |
1107 | if you use it. | | 993 | if you use it. |
1108 | .El | | 994 | .El |
1109 | .Ss Daemons used to boot other hosts over a network | | 995 | .Ss Daemons used to boot other hosts over a network |
1110 | .Bl -tag -width net_interfaces | | 996 | .Bl -tag -width net_interfaces |
1111 | .It Sy bootparamd | | 997 | .It Sy bootparamd |
1112 | .Sq YES | | 998 | Boolean value. |
1113 | or | | | |
1114 | .Sq NO . | | | |
1115 | Runs | | 999 | Runs |
1116 | .Xr bootparamd 8 , | | 1000 | .Xr bootparamd 8 , |
1117 | the boot parameter server, with | | 1001 | the boot parameter server, with |
1118 | .Sy bootparamd_flags | | 1002 | .Sy bootparamd_flags |
1119 | as options. | | 1003 | as options. |
1120 | Used to boot | | 1004 | Used to boot |
1121 | .Nx | | 1005 | .Nx |
1122 | and | | 1006 | and |
1123 | .Tn "SunOS 4.x" | | 1007 | .Tn "SunOS 4.x" |
1124 | systems. | | 1008 | systems. |
1125 | .It Sy dhcpd | | 1009 | .It Sy dhcpd |
1126 | .Sq YES | | 1010 | Boolean value. |
1127 | or | | | |
1128 | .Sq NO . | | | |
1129 | Runs | | 1011 | Runs |
1130 | .Xr dhcpd 8 , | | 1012 | .Xr dhcpd 8 , |
1131 | the Dynamic Host Configuration Protocol (DHCP) daemon, | | 1013 | the Dynamic Host Configuration Protocol (DHCP) daemon, |
1132 | for assigning IP addresses to hosts and passing boot information. | | 1014 | for assigning IP addresses to hosts and passing boot information. |
1133 | Passes | | 1015 | Passes |
1134 | .Sy dhcpd_flags . | | 1016 | .Sy dhcpd_flags . |
1135 | .It Sy dhcrelay | | 1017 | .It Sy dhcrelay |
1136 | .Sq YES | | 1018 | Boolean value. |
1137 | or | | | |
1138 | .Sq NO . | | | |
1139 | Runs | | 1019 | Runs |
1140 | .Xr dhcrelay 8 . | | 1020 | .Xr dhcrelay 8 . |
1141 | Passes | | 1021 | Passes |
1142 | .Sy dhcrelay_flags . | | 1022 | .Sy dhcrelay_flags . |
1143 | .It Sy mopd | | 1023 | .It Sy mopd |
1144 | .Sq YES | | 1024 | Boolean value. |
1145 | or | | | |
1146 | .Sq NO . | | | |
1147 | Runs | | 1025 | Runs |
1148 | .Xr mopd 8 , | | 1026 | .Xr mopd 8 , |
1149 | the | | 1027 | the |
1150 | .Tn DEC | | 1028 | .Tn DEC |
1151 | .Tn MOP | | 1029 | .Tn MOP |
1152 | protocol daemon; used for booting | | 1030 | protocol daemon; used for booting |
1153 | .Tn VAX | | 1031 | .Tn VAX |
1154 | and other | | 1032 | and other |
1155 | .Tn DEC | | 1033 | .Tn DEC |
1156 | machines. | | 1034 | machines. |
1157 | Passes | | 1035 | Passes |
1158 | .Sy mopd_flags . | | 1036 | .Sy mopd_flags . |
1159 | .It Sy ndbootd | | 1037 | .It Sy ndbootd |
1160 | .Sq YES | | 1038 | Boolean value. |
1161 | or | | | |
1162 | .Sq NO . | | | |
1163 | Runs | | 1039 | Runs |
1164 | .Xr ndbootd 8 , | | 1040 | .Xr ndbootd 8 , |
1165 | the Sun Network Disk (ND) Protocol server. | | 1041 | the Sun Network Disk (ND) Protocol server. |
1166 | Passes | | 1042 | Passes |
1167 | .Sy ndbootd_flags . | | 1043 | .Sy ndbootd_flags . |
1168 | .It Sy rarpd | | 1044 | .It Sy rarpd |
1169 | .Sq YES | | 1045 | Boolean value. |
1170 | or | | | |
1171 | .Sq NO . | | | |
1172 | Runs | | 1046 | Runs |
1173 | .Xr rarpd 8 , | | 1047 | .Xr rarpd 8 , |
1174 | the reverse ARP daemon, often used to boot | | 1048 | the reverse ARP daemon, often used to boot |
1175 | .Nx | | 1049 | .Nx |
1176 | and Sun workstations. | | 1050 | and Sun workstations. |
1177 | Passes | | 1051 | Passes |
1178 | .Sy rarpd_flags . | | 1052 | .Sy rarpd_flags . |
1179 | .It Sy rbootd | | 1053 | .It Sy rbootd |
1180 | .Sq YES | | 1054 | Boolean value. |
1181 | or | | | |
1182 | .Sq NO . | | | |
1183 | Runs | | 1055 | Runs |
1184 | .Xr rbootd 8 , | | 1056 | .Xr rbootd 8 , |
1185 | the | | 1057 | the |
1186 | .Tn HP | | 1058 | .Tn HP |
1187 | boot protocol daemon; used for booting | | 1059 | boot protocol daemon; used for booting |
1188 | .Tn HP | | 1060 | .Tn HP |
1189 | workstations. | | 1061 | workstations. |
1190 | Passes | | 1062 | Passes |
1191 | .Sy rbootd_flags . | | 1063 | .Sy rbootd_flags . |
1192 | .It Sy rtadvd | | 1064 | .It Sy rtadvd |
1193 | .Sq YES | | 1065 | Boolean value. |
1194 | or | | | |
1195 | .Sq NO . | | | |
1196 | Runs | | 1066 | Runs |
1197 | .Xr rtadvd 8 , | | 1067 | .Xr rtadvd 8 , |
1198 | the IPv6 router advertisement daemon, which is used to advertise | | 1068 | the IPv6 router advertisement daemon, which is used to advertise |
1199 | information about the subnet to IPv6 end hosts. | | 1069 | information about the subnet to IPv6 end hosts. |
1200 | Passes | | 1070 | Passes |
1201 | .Sy rtadvd_flags . | | 1071 | .Sy rtadvd_flags . |
1202 | This is only for IPv6 routers, so set | | 1072 | This is only for IPv6 routers, so set |
1203 | .Sy ip6mode | | 1073 | .Sy ip6mode |
1204 | to | | 1074 | to |
1205 | .Dq Li router | | 1075 | .Dq Li router |
1206 | if you use it. | | 1076 | if you use it. |
1207 | .El | | 1077 | .El |
1208 | .Ss X Window System daemons | | 1078 | .Ss X Window System daemons |
1209 | .Bl -tag -width net_interfaces | | 1079 | .Bl -tag -width net_interfaces |
1210 | .It Sy xdm | | 1080 | .It Sy xdm |
1211 | .Sq YES | | 1081 | Boolean value. |
1212 | or | | | |
1213 | .Sq NO . | | | |
1214 | Runs the | | 1082 | Runs the |
1215 | .Xr xdm 1 | | 1083 | .Xr xdm 1 |
1216 | X display manager. | | 1084 | X display manager. |
1217 | These X daemons are available only with the optional X distribution of | | 1085 | These X daemons are available only with the optional X distribution of |
1218 | .Nx . | | 1086 | .Nx . |
1219 | .It Sy xfs | | 1087 | .It Sy xfs |
1220 | .Sq YES | | 1088 | Boolean value. |
1221 | or | | | |
1222 | .Sq NO . | | | |
1223 | Runs the | | 1089 | Runs the |
1224 | .Xr xfs 1 | | 1090 | .Xr xfs 1 |
1225 | X11 font server, which supplies local X font files to X terminals. | | 1091 | X11 font server, which supplies local X font files to X terminals. |
1226 | .El | | 1092 | .El |
1227 | .Ss NIS (YP) daemons | | 1093 | .Ss NIS (YP) daemons |
1228 | .Bl -tag -width net_interfaces | | 1094 | .Bl -tag -width net_interfaces |
1229 | .It Sy ypbind | | 1095 | .It Sy ypbind |
1230 | .Sq YES | | 1096 | Boolean value. |
1231 | or | | | |
1232 | .Sq NO . | | | |
1233 | Runs | | 1097 | Runs |
1234 | .Xr ypbind 8 , | | 1098 | .Xr ypbind 8 , |
1235 | which lets | | 1099 | which lets |
1236 | .Tn NIS | | 1100 | .Tn NIS |
1237 | (YP) clients use information from a | | 1101 | (YP) clients use information from a |
1238 | .Tn NIS | | 1102 | .Tn NIS |
1239 | server. | | 1103 | server. |
1240 | Passes | | 1104 | Passes |
1241 | .Sy ypbind_flags . | | 1105 | .Sy ypbind_flags . |
1242 | .It Sy yppasswdd | | 1106 | .It Sy yppasswdd |
1243 | .Sq YES | | 1107 | Boolean value. |
1244 | or | | | |
1245 | .Sq NO . | | | |
1246 | Runs | | 1108 | Runs |
1247 | .Xr yppasswdd 8 , | | 1109 | .Xr yppasswdd 8 , |
1248 | which allows remote | | 1110 | which allows remote |
1249 | .Tn NIS | | 1111 | .Tn NIS |
1250 | users to update password on master server. | | 1112 | users to update password on master server. |
1251 | Passes | | 1113 | Passes |
1252 | .Sy yppasswdd_flags . | | 1114 | .Sy yppasswdd_flags . |
1253 | .It Sy ypserv | | 1115 | .It Sy ypserv |
1254 | .Sq YES | | 1116 | Boolean value. |
1255 | or | | | |
1256 | .Sq NO . | | | |
1257 | Runs | | 1117 | Runs |
1258 | .Xr ypserv 8 , | | 1118 | .Xr ypserv 8 , |
1259 | the | | 1119 | the |
1260 | .Tn NIS | | 1120 | .Tn NIS |
1261 | (YP) server for distributing information from certain files in | | 1121 | (YP) server for distributing information from certain files in |
1262 | .Pa /etc . | | 1122 | .Pa /etc . |
1263 | Passes | | 1123 | Passes |
1264 | .Sy ypserv_flags . | | 1124 | .Sy ypserv_flags . |
1265 | The | | 1125 | The |
1266 | .Dq Li -d | | 1126 | .Dq Li -d |
1267 | flag causes it to use DNS for lookups in | | 1127 | flag causes it to use DNS for lookups in |
1268 | .Pa /etc/hosts | | 1128 | .Pa /etc/hosts |
1269 | that fail. | | 1129 | that fail. |
1270 | .El | | 1130 | .El |
1271 | .Ss NFS daemons and parameters | | 1131 | .Ss NFS daemons and parameters |
1272 | .Bl -tag -width net_interfaces | | 1132 | .Bl -tag -width net_interfaces |
1273 | .It Sy amd | | 1133 | .It Sy amd |
1274 | .Sq YES | | 1134 | Boolean value. |
1275 | or | | | |
1276 | .Sq NO . | | | |
1277 | Runs | | 1135 | Runs |
1278 | .Xr amd 8 , | | 1136 | .Xr amd 8 , |
1279 | the automounter daemon, which automatically mounts NFS file systems | | 1137 | the automounter daemon, which automatically mounts NFS file systems |
1280 | whenever a file or directory within that file system is accessed. | | 1138 | whenever a file or directory within that file system is accessed. |
1281 | Passes | | 1139 | Passes |
1282 | .Sy amd_flags . | | 1140 | .Sy amd_flags . |
1283 | .It Sy amd_dir | | 1141 | .It Sy amd_dir |
1284 | A string. | | 1142 | A string. |
1285 | The | | 1143 | The |
1286 | .Xr amd 8 | | 1144 | .Xr amd 8 |
1287 | mount directory. | | 1145 | mount directory. |
1288 | Used only if | | 1146 | Used only if |
1289 | .Sy amd | | 1147 | .Sy amd |
1290 | is set to | | 1148 | is true. |
1291 | .Sq YES . | | | |
1292 | .It Sy lockd | | 1149 | .It Sy lockd |
1293 | .Sq YES | | 1150 | Boolean value. |
1294 | or | | | |
1295 | .Sq NO . | | | |
1296 | Runs | | 1151 | Runs |
1297 | .Xr rpc.lockd 8 | | 1152 | .Xr rpc.lockd 8 |
1298 | if | | 1153 | if |
1299 | .Sy nfs_server | | 1154 | .Sy nfs_server |
1300 | and/or | | 1155 | and/or |
1301 | .Sy nfs_client | | 1156 | .Sy nfs_client |
1302 | are set to | | 1157 | are true. |
1303 | .Sq YES . | | | |
1304 | Passes | | 1158 | Passes |
1305 | .Sy lockd_flags . | | 1159 | .Sy lockd_flags . |
1306 | .It Sy mountd | | 1160 | .It Sy mountd |
1307 | .Sq YES | | 1161 | Boolean value. |
1308 | or | | | |
1309 | .Sq NO . | | | |
1310 | Runs | | 1162 | Runs |
1311 | .Xr mountd 8 | | 1163 | .Xr mountd 8 |
1312 | and passes | | 1164 | and passes |
1313 | .Sy mountd_flags . | | 1165 | .Sy mountd_flags . |
1314 | .It Sy nfs_client | | 1166 | .It Sy nfs_client |
1315 | .Sq YES | | 1167 | Boolean value. |
1316 | or | | | |
1317 | .Sq NO . | | | |
1318 | The number of local NFS asynchronous I/O server is now controlled via | | 1168 | The number of local NFS asynchronous I/O server is now controlled via |
1319 | .Xr sysctl 8 . | | 1169 | .Xr sysctl 8 . |
1320 | .It Sy nfs_server | | 1170 | .It Sy nfs_server |
1321 | .Sq YES | | 1171 | Boolean value. |
1322 | or | | | |
1323 | .Sq NO . | | | |
1324 | Sets up a host to be a NFS server by running | | 1172 | Sets up a host to be a NFS server by running |
1325 | .Xr nfsd 8 | | 1173 | .Xr nfsd 8 |
1326 | and passing | | 1174 | and passing |
1327 | .Sy nfsd_flags . | | 1175 | .Sy nfsd_flags . |
1328 | .It Sy statd | | 1176 | .It Sy statd |
1329 | .Sq YES | | 1177 | Boolean value. |
1330 | or | | | |
1331 | .Sq NO . | | | |
1332 | Runs | | 1178 | Runs |
1333 | .Xr rpc.statd 8 , | | 1179 | .Xr rpc.statd 8 , |
1334 | a status monitoring daemon used when | | 1180 | a status monitoring daemon used when |
1335 | .Xr rpc.lockd 8 | | 1181 | .Xr rpc.lockd 8 |
1336 | is running, if | | 1182 | is running, if |
1337 | .Sy nfs_server | | 1183 | .Sy nfs_server |
1338 | and/or | | 1184 | and/or |
1339 | .Sy nfs_client | | 1185 | .Sy nfs_client |
1340 | are set to | | 1186 | are true. |
1341 | .Sq YES . | | | |
1342 | Passes | | 1187 | Passes |
1343 | .Sy statd_flags . | | 1188 | .Sy statd_flags . |
1344 | .El | | 1189 | .El |
1345 | .Ss Bluetooth configuration and daemons | | 1190 | .Ss Bluetooth configuration and daemons |
1346 | .Bl -tag -width net_interfaces | | 1191 | .Bl -tag -width net_interfaces |
1347 | .It Sy btattach | | 1192 | .It Sy btattach |
1348 | .Sq YES | | 1193 | Boolean value. |
1349 | or | | | |
1350 | .Sq NO . | | | |
1351 | Attach serial bluetooth interfaces as listed in the configuration file | | 1194 | Attach serial bluetooth interfaces as listed in the configuration file |
1352 | .Pa /etc/bluetooth/btdevctl.conf . | | 1195 | .Pa /etc/bluetooth/btdevctl.conf . |
1353 | .It Sy btconfig | | 1196 | .It Sy btconfig |
1354 | .Sq YES | | 1197 | Boolean value. |
1355 | or | | | |
1356 | .Sq NO . | | | |
1357 | Configure bluetooth devices. | | 1198 | Configure bluetooth devices. |
1358 | If the | | 1199 | If the |
1359 | .Sy btconfig_devices | | 1200 | .Sy btconfig_devices |
1360 | variable below is not specified, all devices known to the system | | 1201 | variable below is not specified, all devices known to the system |
1361 | will be configured. | | 1202 | will be configured. |
1362 | For each device, configuration arguments are first looked for | | 1203 | For each device, configuration arguments are first looked for |
1363 | in the | | 1204 | in the |
1364 | .Sy btconfig_{dev} | | 1205 | .Sy btconfig_{dev} |
1365 | variable, otherwise the value of the | | 1206 | variable, otherwise the value of the |
1366 | .Sy btconfig_args | | 1207 | .Sy btconfig_args |
1367 | variable will be used, and if that is not specified the default string is | | 1208 | variable will be used, and if that is not specified the default string is |
1368 | .Sq enable . | | 1209 | .Sq enable . |
1369 | .It Sy btconfig_devices | | 1210 | .It Sy btconfig_devices |
1370 | An optional space separated list of bluetooth devices to be configured at | | 1211 | An optional space separated list of bluetooth devices to be configured at |
1371 | boot time. | | 1212 | boot time. |
1372 | .It Sy btconfig_args | | 1213 | .It Sy btconfig_args |
1373 | An optional string, containing default arguments for bluetooth devices to | | 1214 | An optional string, containing default arguments for bluetooth devices to |
1374 | be configured. | | 1215 | be configured. |
1375 | .It Sy btdevctl | | 1216 | .It Sy btdevctl |
1376 | .Sq YES | | 1217 | Boolean value. |
1377 | or | | | |
1378 | .Sq NO . | | | |
1379 | Configure Bluetooth devices as listed in the configuration file | | 1218 | Configure Bluetooth devices as listed in the configuration file |
1380 | .Pa /etc/bluetooth/btdevctl.conf . | | 1219 | .Pa /etc/bluetooth/btdevctl.conf . |
1381 | .It Sy bthcid | | 1220 | .It Sy bthcid |
1382 | .Sq YES | | 1221 | Boolean value. |
1383 | or | | | |
1384 | .Sq NO . | | | |
1385 | Runs | | 1222 | Runs |
1386 | .Xr bthcid 8 , | | 1223 | .Xr bthcid 8 , |
1387 | the Bluetooth HCI daemon, which manages link keys and PIN codes for | | 1224 | the Bluetooth HCI daemon, which manages link keys and PIN codes for |
1388 | Bluetooth links. | | 1225 | Bluetooth links. |
1389 | Passes | | 1226 | Passes |
1390 | .Sy bthcid_flags . | | 1227 | .Sy bthcid_flags . |
1391 | .It Sy sdpd | | 1228 | .It Sy sdpd |
1392 | .Sq YES | | 1229 | Boolean value. |
1393 | or | | | |
1394 | .Sq NO . | | | |
1395 | Runs the Service Discovery Profile daemon, | | 1230 | Runs the Service Discovery Profile daemon, |
1396 | .Xr sdpd 8 . | | 1231 | .Xr sdpd 8 . |
1397 | Passes | | 1232 | Passes |
1398 | .Sy sdpd_flags . | | 1233 | .Sy sdpd_flags . |
1399 | .El | | 1234 | .El |
1400 | .Ss Other daemons | | 1235 | .Ss Other daemons |
1401 | .Bl -tag -width net_interfaces | | 1236 | .Bl -tag -width net_interfaces |
1402 | .It Sy isdnd | | 1237 | .It Sy isdnd |
1403 | .Sq YES | | 1238 | Boolean value. |
1404 | or | | | |
1405 | .Sq NO . | | | |
1406 | Runs | | 1239 | Runs |
1407 | .Xr isdnd 8 , | | 1240 | .Xr isdnd 8 , |
1408 | the isdn4bsd ISDN connection management daemon. | | 1241 | the isdn4bsd ISDN connection management daemon. |
1409 | Passes | | 1242 | Passes |
1410 | .Sy isdnd_flags . | | 1243 | .Sy isdnd_flags . |
1411 | .It Sy isdn_autoupdown | | 1244 | .It Sy isdn_autoupdown |
1412 | .Sq YES | | 1245 | Boolean value. |
1413 | or | | | |
1414 | .Sq NO . | | | |
1415 | Set all configured ISDN interfaces to | | 1246 | Set all configured ISDN interfaces to |
1416 | .Dq up . | | 1247 | .Dq up . |
1417 | If | | 1248 | If |
1418 | .Sy isdn_interfaces | | 1249 | .Sy isdn_interfaces |
1419 | is not blank, only the listed interfaces will be modified. | | 1250 | is not blank, only the listed interfaces will be modified. |
1420 | Used only if | | 1251 | Used only if |
1421 | .Sy isdnd | | 1252 | .Sy isdnd |
1422 | is set to | | 1253 | is true. |
1423 | .Sq YES . | | | |
1424 | .It Sy kdc | | 1254 | .It Sy kdc |
1425 | .Sq YES | | 1255 | Boolean value. |
1426 | or | | | |
1427 | .Sq NO . | | | |
1428 | Runs the | | 1256 | Runs the |
1429 | .Xr kdc 8 | | 1257 | .Xr kdc 8 |
1430 | Kerberos v4 and v5 server. | | 1258 | Kerberos v4 and v5 server. |
1431 | This should be run on Kerberos master and slave servers. | | 1259 | This should be run on Kerberos master and slave servers. |
1432 | .It Sy rwhod | | 1260 | .It Sy rwhod |
1433 | .Sq YES | | 1261 | Boolean value. |
1434 | or | | | |
1435 | .Sq NO . | | | |
1436 | Runs | | 1262 | Runs |
1437 | .Xr rwhod 8 | | 1263 | .Xr rwhod 8 |
1438 | to support the | | 1264 | to support the |
1439 | .Xr rwho 1 | | 1265 | .Xr rwho 1 |
1440 | and | | 1266 | and |
1441 | .Xr ruptime 1 | | 1267 | .Xr ruptime 1 |
1442 | commands. | | 1268 | commands. |
1443 | .El | | 1269 | .El |
1444 | .Ss Hardware daemons | | 1270 | .Ss Hardware daemons |
1445 | .Bl -tag -width net_interfaces | | 1271 | .Bl -tag -width net_interfaces |
1446 | .It Sy apmd | | 1272 | .It Sy apmd |
1447 | .Sq YES | | 1273 | Boolean value. |
1448 | or | | | |
1449 | .Sq NO . | | | |
1450 | Runs | | 1274 | Runs |
1451 | .Xr apmd 8 | | 1275 | .Xr apmd 8 |
1452 | and passes | | 1276 | and passes |
1453 | .Sy apmd_flags . | | 1277 | .Sy apmd_flags . |
1454 | .It Sy irdaattach | | 1278 | .It Sy irdaattach |
1455 | .Sq YES | | 1279 | Boolean value. |
1456 | or | | | |
1457 | .Sq NO . | | | |
1458 | Runs | | 1280 | Runs |
1459 | .Xr irdaattach 8 | | 1281 | .Xr irdaattach 8 |
1460 | and passes | | 1282 | and passes |
1461 | .Sy irdaattach_flags . | | 1283 | .Sy irdaattach_flags . |
1462 | .It Sy moused | | 1284 | .It Sy moused |
1463 | .Sq YES | | 1285 | Boolean value. |
1464 | or | | | |
1465 | .Sq NO . | | | |
1466 | Runs | | 1286 | Runs |
1467 | .Xr moused 8 , | | 1287 | .Xr moused 8 , |
1468 | to pass serial mouse data to the wscons mouse mux. | | 1288 | to pass serial mouse data to the wscons mouse mux. |
1469 | Passes | | 1289 | Passes |
1470 | .Sy moused_flags . | | 1290 | .Sy moused_flags . |
1471 | .It Sy screenblank | | 1291 | .It Sy screenblank |
1472 | .Sq YES | | 1292 | Boolean value. |
1473 | or | | | |
1474 | .Sq NO . | | | |
1475 | Runs | | 1293 | Runs |
1476 | .Xr screenblank 1 | | 1294 | .Xr screenblank 1 |
1477 | and passes | | 1295 | and passes |
1478 | .Sy screenblank_flags . | | 1296 | .Sy screenblank_flags . |
1479 | .It Sy wscons | | 1297 | .It Sy wscons |
1480 | .Sq YES | | 1298 | Boolean value. |
1481 | or | | | |
1482 | .Sq NO . | | | |
1483 | Configures the | | 1299 | Configures the |
1484 | .Xr wscons 4 | | 1300 | .Xr wscons 4 |
1485 | console driver, from the configuration file | | 1301 | console driver, from the configuration file |
1486 | .Pa /etc/wscons.conf . | | 1302 | .Pa /etc/wscons.conf . |
1487 | .It Sy wsmoused | | 1303 | .It Sy wsmoused |
1488 | .Sq YES | | 1304 | Boolean value. |
1489 | or | | | |
1490 | .Sq NO . | | | |
1491 | Runs | | 1305 | Runs |
1492 | .Xr wsmoused 8 , | | 1306 | .Xr wsmoused 8 , |
1493 | to provide copy and paste text support in wscons displays. | | 1307 | to provide copy and paste text support in wscons displays. |
1494 | Passes | | 1308 | Passes |
1495 | .Sy wsmoused_flags . | | 1309 | .Sy wsmoused_flags . |
1496 | .El | | 1310 | .El |
1497 | .Sh FILES | | 1311 | .Sh FILES |
1498 | .Bl -tag -width /etc/defaults/rc.conf -compact | | 1312 | .Bl -tag -width /etc/defaults/rc.conf -compact |
1499 | .It Pa /etc/rc.conf | | 1313 | .It Pa /etc/rc.conf |
1500 | The file | | 1314 | The file |
1501 | .Nm | | 1315 | .Nm |
1502 | resides in | | 1316 | resides in |
1503 | .Pa /etc . | | 1317 | .Pa /etc . |