Merge branch 'vendor/LESS'
[dragonfly.git] / share / doc / smm / 01.setup / 6.t
1 .\" Copyright (c) 1980, 1986, 1988, 1993 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the University nor the names of its contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\"     @(#)6.t 8.1 (Berkeley) 7/27/93
29 .\"
30 .ds LH "Installing/Operating \*(4B
31 .ds CF \*(Dy
32 .Sh 1 "System operation"
33 .PP
34 This section describes procedures used to operate a \*(4B UNIX system.
35 Procedures described here are used periodically, to reboot the system,
36 analyze error messages from devices, do disk backups, monitor
37 system performance, recompile system software and control local changes.
38 .Sh 2 "Bootstrap and shutdown procedures"
39 .PP
40 In a normal reboot, the system checks the disks and comes up multi-user
41 without intervention at the console.
42 Such a reboot
43 can be stopped (after it prints the date) with a ^C (interrupt).
44 This will leave the system in single-user mode, with only the console
45 terminal active.
46 (If the console has been marked ``insecure'' in
47 .Pn /etc/ttys
48 you must enter the root password to bring the machine to single-user mode.)
49 It is also possible to allow the filesystem checks to complete
50 and then to return to single-user mode by signaling
51 .Xr fsck (8)
52 with a QUIT signal (^\|\e).
53 .PP
54 To bring the system up to a multi-user configuration from the single-user
55 status,
56 all you have to do is hit ^D on the console.  The system
57 will then execute
58 .Pn /etc/rc ,
59 a multi-user restart script (and
60 .Pn /etc/rc.local ),
61 and come up on the terminals listed as
62 active in the file
63 .Pn /etc/ttys .
64 See
65 .Xr init (8)
66 and
67 .Xr ttys (5) for more details.
68 Note, however, that this does not cause a filesystem check to be done.
69 Unless the system was taken down cleanly, you should run
70 ``fsck \-p'' or force a reboot with
71 .Xr reboot (8)
72 to have the disks checked.
73 .PP
74 To take the system down to a single user state you can use
75 .DS
76 \fB#\fP \fIkill 1\fP
77 .DE
78 or use the
79 .Xr shutdown (8)
80 command (which is much more polite, if there are other users logged in)
81 when you are running multi-user.
82 Either command will kill all processes and give you a shell on the console,
83 as if you had just booted.  Filesystems remain mounted after the
84 system is taken single-user.  If you wish to come up multi-user again, you
85 should do this by:
86 .DS
87 \fB#\fP \fIcd /\fP
88 \fB#\fP \fI/sbin/umount -a\fP
89 \fB#\fP \fI^D\fP
90 .DE
91 .PP
92 Each system shutdown, crash, processor halt and reboot
93 is recorded in the system log
94 with its cause.
95 .Sh 2 "Device errors and diagnostics"
96 .PP
97 When serious errors occur on peripherals or in the system, the system
98 prints a warning diagnostic on the console.
99 These messages are collected
100 by the system error logging process
101 .Xr syslogd (8)
102 and written into a system error log file
103 .Pn /var/log/messages .
104 Less serious errors are sent directly to
105 .Xr syslogd ,
106 which may log them on the console.
107 The error priorities that are logged and the locations to which they are logged
108 are controlled by
109 .Pn /etc/syslog.conf .
110 See
111 .Xr syslogd (8)
112 for further details.
113 .PP
114 Error messages printed by the devices in the system are described with the
115 drivers for the devices in section 4 of the programmer's manual.
116 If errors occur suggesting hardware problems, you should contact
117 your hardware support group or field service.  It is a good idea to
118 examine the error log file regularly
119 (e.g. with the command \fItail \-r /var/log/messages\fP).
120 .Sh 2 "Filesystem checks, backups, and disaster recovery"
121 .PP
122 Periodically (say every week or so in the absence of any problems)
123 and always (usually automatically) after a crash,
124 all the filesystems should be checked for consistency
125 by
126 .Xr fsck (1).
127 The procedures of
128 .Xr reboot (8)
129 should be used to get the system to a state where a filesystem
130 check can be done manually or automatically.
131 .PP
132 Dumping of the filesystems should be done regularly,
133 since once the system is going it is easy to
134 become complacent.
135 Complete and incremental dumps are easily done with
136 .Xr dump (8).
137 You should arrange to do a towers-of-hanoi dump sequence; we tune
138 ours so that almost all files are dumped on two tapes and kept for at
139 least a week in most every case.  We take full dumps every month (and keep
140 these indefinitely).
141 Operators can execute ``dump w'' at login that will tell them what needs
142 to be dumped
143 (based on the
144 .Pn /etc/fstab
145 information).
146 Be sure to create a group
147 .B operator
148 in the file
149 .Pn /etc/group
150 so that dump can notify logged-in operators when it needs help.
151 .PP
152 More precisely, we have three sets of dump tapes: 10 daily tapes,
153 5 weekly sets of 2 tapes, and fresh sets of three tapes monthly.
154 We do daily dumps circularly on the daily tapes with sequence
155 `3 2 5 4 7 6 9 8 9 9 9 ...'.
156 Each weekly is a level 1 and the daily dump sequence level
157 restarts after each weekly dump.
158 Full dumps are level 0 and the daily sequence restarts after each full dump
159 also.
160 .PP
161 Thus a typical dump sequence would be:
162 .br
163 .ne 6
164 .TS
165 center;
166 c c c c c
167 n n n l l.
168 tape name       level number    date    opr     size
169 _
170 FULL    0       Nov 24, 1992    operator        137K
171 D1      3       Nov 28, 1992    operator        29K
172 D2      2       Nov 29, 1992    operator        34K
173 D3      5       Nov 30, 1992    operator        19K
174 D4      4       Dec 1, 1992     operator        22K
175 W1      1       Dec 2, 1992     operator        40K
176 D5      3       Dec 4, 1992     operator        15K
177 D6      2       Dec 5, 1992     operator        25K
178 D7      5       Dec 6, 1992     operator        15K
179 D8      4       Dec 7, 1992     operator        19K
180 W2      1       Dec 9, 1992     operator        118K
181 D9      3       Dec 11, 1992    operator        15K
182 D10     2       Dec 12, 1992    operator        26K
183 D1      5       Dec 15, 1992    operator        14K
184 W3      1       Dec 17, 1992    operator        71K
185 D2      3       Dec 18, 1992    operator        13K
186 FULL    0       Dec 22, 1992    operator        135K
187 .TE
188 We do weekly dumps often enough that daily dumps always fit on one tape.
189 .PP
190 Dumping of files by name is best done by
191 .Xr tar (1)
192 but the amount of data that can be moved in this way is limited
193 to a single tape.
194 Finally if there are enough drives entire
195 disks can be copied with
196 .Xr dd (1)
197 using the raw special files and an appropriate
198 blocking factor; the number of sectors per track is usually
199 a good value to use, consult
200 .Pn /etc/disktab .
201 .PP
202 It is desirable that full dumps of the root filesystem be
203 made regularly.
204 This is especially true when only one disk is available.
205 Then, if the
206 root filesystem is damaged by a hardware or software failure, you
207 can rebuild a workable disk doing a restore in the
208 same way that the initial root filesystem was created.
209 .PP
210 Exhaustion of user-file space is certain to occur
211 now and then; disk quotas may be imposed, or if you
212 prefer a less fascist approach, try using the programs
213 .Xr du (1),
214 .Xr df (1),
215 and
216 .Xr quot (8),
217 combined with threatening
218 messages of the day, and personal letters.
219 .Sh 2 "Moving filesystem data"
220 .PP
221 If you have the resources,
222 the best way to move a filesystem
223 is to dump it to a spare disk partition, or magtape, using
224 .Xr dump (8),
225 use
226 .Xr newfs (8)
227 to create the new filesystem,
228 and restore the filesystem using
229 .Xr restore (8).
230 Filesystems may also be moved by piping the output of
231 .Xr dump
232 to
233 .Xr restore .
234 The
235 .Xr restore
236 program uses an ``in-place'' algorithm that
237 allows filesystem dumps to be restored without concern for the
238 original size of the filesystem.  Further, portions of a
239 filesystem may be selectively restored using a method similar
240 to the tape archive program.
241 .PP
242 If you have to merge a filesystem into another, existing one,
243 the best bet is to use
244 .Xr tar (1).
245 If you must shrink a filesystem, the best bet is to dump
246 the original and restore it onto the new filesystem.
247 If you
248 are playing with the root filesystem and only have one drive,
249 the procedure is more complicated.
250 If the only drive is a Winchester disk, this procedure may not be used
251 without overwriting the existing root or another partition.
252 What you do is the following:
253 .IP 1.
254 GET A SECOND PACK, OR USE ANOTHER DISK DRIVE!!!!
255 .IP 2.
256 Dump the root filesystem to tape using
257 .Xr dump (8).
258 .IP 3.
259 Bring the system down.
260 .IP 4.
261 Mount the new pack in the correct disk drive, if
262 using removable media.
263 .IP 5.
264 Load the distribution tape and install the new
265 root filesystem as you did when first installing the system.
266 Boot normally
267 using the newly created disk filesystem.
268 .PP
269 Note that if you change the disk partition tables or add new disk
270 drivers they should also be added to the standalone system in
271 .Pn /sys/<architecture>/stand ,
272 and the default disk partition tables in
273 .Pn /etc/disktab
274 should be modified.
275 .Sh 2 "Monitoring system performance"
276 .PP
277 The
278 .Xr systat
279 program provided with the system is designed to be an aid to monitoring
280 systemwide activity.  The default ``pigs'' mode shows a dynamic ``ps''.
281 By running in the ``vmstat'' mode
282 when the system is active you can judge the system activity in several
283 dimensions: job distribution, virtual memory load, paging and swapping
284 activity, device interrupts, and disk and cpu utilization.
285 Ideally, there should be few blocked (b) jobs,
286 there should be little paging or swapping activity, there should
287 be available bandwidth on the disk devices (most single arms peak
288 out at 20-30 tps in practice), and the user cpu utilization (us) should
289 be high (above 50%).
290 .PP
291 If the system is busy, then the count of active jobs may be large,
292 and several of these jobs may often be blocked (b).  If the virtual
293 memory is active, then the paging demon will be running (sr will
294 be non-zero).  It is healthy for the paging demon to free pages when
295 the virtual memory gets active; it is triggered by the amount of free
296 memory dropping below a threshold and increases its pace as free memory
297 goes to zero.
298 .PP
299 If you run in the ``vmstat'' mode
300 when the system is busy, you can find
301 imbalances by noting abnormal job distributions.  If many
302 processes are blocked (b), then the disk subsystem
303 is overloaded or imbalanced.  If you have several non-dma
304 devices or open teletype lines that are ``ringing'', or user programs
305 that are doing high-speed non-buffered input/output, then the system
306 time may go high (60-70% or higher).
307 It is often possible to pin down the cause of high system time by
308 looking to see if there is excessive context switching (cs), interrupt
309 activity (in) and per-device interrupt counts,
310 or system call activity (sy).  Cumulatively on one of
311 our large machines we average about 60-200 context switches and interrupts
312 per second and about 50-500 system calls per second.
313 .PP
314 If the system is heavily loaded, or if you have little memory
315 for your load (2M is little in most any case), then the system
316 may be forced to swap.  This is likely to be accompanied by a noticeable
317 reduction in system performance and pregnant pauses when interactive
318 jobs such as editors swap out.
319 If you expect to be in a memory-poor environment
320 for an extended period you might consider administratively
321 limiting system load.
322 .Sh 2 "Recompiling and reinstalling system software"
323 .PP
324 It is easy to regenerate either the entire system or a single utility,
325 and it is a good idea to try rebuilding pieces of the system to build
326 confidence in the procedures.
327 .LP
328 In general, there are six well-known targets supported by
329 all the makefiles on the system:
330 .IP all 9
331 This entry is the default target, the same as if no target is specified.
332 This target builds the kernel, binary or library, as well as its
333 associated manual pages.
334 This target \fBdoes not\fP build the dependency files.
335 Some of the utilities require that a \fImake depend\fP be done before
336 a \fImake all\fP can succeed.
337 .IP depend
338 Build the include file dependency file, ``.depend'', which is
339 read by
340 .Xr make .
341 See
342 .Xr mkdep (1)
343 for further details.
344 .IP install
345 Install the kernel, binary or library, as well as its associated
346 manual pages.
347 See
348 .Xr install (1)
349 for further details.
350 .IP clean
351 Remove the kernel, binary or library, as well as any object files
352 created when building it.
353 .IP cleandir
354 The same as clean, except that the dependency files and formatted
355 manual pages are removed as well.
356 .IP obj
357 Build a shadow directory structure in the area referenced by
358 .Pn /usr/obj
359 and create a symbolic link in the current source directory to
360 referenced it, named ``obj''.
361 Once this shadow structure has been created, all the files created by
362 .Xr make
363 will live in the shadow structure, and
364 .Pn /usr/src
365 may be mounted read-only by multiple machines.
366 Doing a \fImake obj\fP in
367 .Pn /usr/src
368 will build the shadow directory structure for everything on the
369 system except for the contributed, old, and kernel software.
370 .PP
371 The system consists of three major parts:
372 the kernel itself, found in
373 .Pn /usr/src/sys ,
374 the libraries , found in
375 .Pn /usr/src/lib ,
376 and the user programs (the rest of
377 .Pn /usr/src ).
378 .PP
379 Deprecated software, found in
380 .Pn /usr/src/old ,
381 often has old style makefiles;
382 some of it does not compile under \*(4B at all.
383 .PP
384 Contributed software, found in
385 .Pn /usr/src/contrib ,
386 usually does not support the ``cleandir'', ``depend'', or ``obj'' targets.
387 .PP
388 The kernel does not support the ``obj'' shadow structure.
389 All kernels are compiled in subdirectories of
390 .Pn /usr/src/sys/compile
391 which is usually abbreviated as
392 .Pn /sys/compile .
393 If you want to mount your source tree read-only,
394 .Pn /usr/src/sys/compile
395 will have to be on a separate filesystem from
396 .Pn /usr/src .
397 Separation from
398 .Pn /usr/src
399 can be done by making
400 .Pn /usr/src/sys/compile
401 a symbolic link that references
402 .Pn /usr/obj/sys/compile .
403 If it is a symbolic link, the \fIS\fP variable in the kernel
404 Makefile must be changed from
405 .Pn \&../..
406 to the absolute pathname needed to locate the kernel sources, usually
407 .Pn /usr/src/sys .
408 The symbolic link created by
409 .Xr config (8)
410 for
411 .Pn machine
412 must also be manually changed to an absolute pathname.
413 Finally, the
414 .Pn /usr/src/sys/libkern/obj
415 directory must be located in
416 .Pn /usr/obj/sys/libkern .
417 .PP
418 Each of the standard utilities and libraries may be built and
419 installed by changing directories into the correct location and
420 doing:
421 .DS
422 \fB#\fP \fImake\fP
423 \fB#\fP \fImake install\fP
424 .DE
425 Note, if system include files have changed between compiles,
426 .Xr make
427 will not do the correct dependency checks if the dependency
428 files have not been built using the ``depend'' target.
429 .PP
430 The entire library and utility suite for the system may be recompiled
431 from scratch by changing directory to
432 .Pn /usr/src
433 and doing:
434 .DS
435 \fB#\fP \fImake build\fP
436 .DE
437 This target installs the system include files, cleans the source
438 tree, builds and installs the libraries, and builds and installs
439 the system utilities.
440 .PP
441 To recompile a specific program, first determine where the binary
442 resides with the
443 .Xr whereis (1)
444 command, then change to the corresponding source directory and build
445 it with the Makefile in the directory.
446 For instance, to recompile ``passwd'',
447 all one has to do is:
448 .DS
449 \fB#\fP \fIwhereis passwd\fP
450 \fB/usr/bin/passwd\fP
451 \fB#\fP \fIcd /usr/src/usr.bin/passwd\fP
452 \fB#\fP \fImake\fP
453 \fB#\fP \fImake install\fP
454 .DE
455 this will compile and install the
456 .Xr passwd
457 utility.
458 .PP
459 If you wish to recompile and install all programs into a particular
460 target area you can override the default path prefix by doing:
461 .DS
462 \fB#\fP \fImake\fP
463 \fB#\fP \fImake DESTDIR=\fPpathname \fIinstall\fP
464 .DE
465 Similarly, the mode, owner, group, and other characteristics of
466 the installed object can be modified by changing other default
467 make variables.
468 See
469 .Xr make (1),
470 .Pn /usr/src/share/mk/bsd.README ,
471 and the ``.mk'' scripts in the
472 .Pn /usr/share/mk
473 directory for more information.
474 .PP
475 If you modify the C library or system include files, to change a
476 system call for example, and want to rebuild and install everything,
477 you have to be a little careful.
478 You must ensure that the include files are installed before anything
479 is compiled, and that the libraries are installed before the remainder
480 of the source, otherwise the loaded images will not contain the new
481 routine from the library.
482 If include files have been modified, the following commands should
483 be done first:
484 .DS
485 \fB#\fP \fIcd /usr/src/include\fP
486 \fB#\fP \fImake install\fP
487 .DE
488 Then, if, for example, C library files have been modified, the
489 following commands should be executed:
490 .DS
491 \fB#\fP \fIcd /usr/src/lib/libc\fP
492 \fB#\fP \fImake depend\fP
493 \fB#\fP \fImake\fP
494 \fB#\fP \fImake install\fP
495 \fB#\fP \fIcd /usr/src\fP
496 \fB#\fP \fImake depend\fP
497 \fB#\fP \fImake\fP
498 \fB#\fP \fImake install\fP
499 .DE
500 Alternatively, the \fImake build\fP command described above will
501 accomplish the same tasks.
502 This takes several hours on a reasonably configured machine.
503 .Sh 2 "Making local modifications"
504 .PP
505 The source for locally written commands is normally stored in
506 .Pn /usr/src/local ,
507 and their binaries are kept in
508 .Pn /usr/local/bin .
509 This isolation of local binaries allows
510 .Pn /usr/bin ,
511 and
512 .Pn /bin
513 to correspond to the distribution tape (and to the manuals that
514 people can buy).
515 People using local commands should be made aware that they are not
516 in the base manual.
517 Manual pages for local commands should be installed in
518 .Pn /usr/local/man/cat[1-8].
519 The
520 .Xr man (1)
521 command automatically finds manual pages placed in
522 /usr/local/man/cat[1-8] to encourage this practice (see
523 .Xr man.conf (5)).
524 .Sh 2 "Accounting"
525 .PP
526 UNIX optionally records two kinds of accounting information:
527 connect time accounting and process resource accounting.  The connect
528 time accounting information is stored in the file
529 .Pn /var/log/wtmp ,
530 which is summarized by the program
531 .Xr ac (8).
532 The process time accounting information is stored in the file
533 .Pn /var/account/acct
534 after it is enabled by
535 .Xr accton (8),
536 and is analyzed and summarized by the program
537 .Xr sa (8).
538 .PP
539 If you need to recharge for computing time, you can develop
540 procedures based on the information provided by these commands.
541 A convenient way to do this is to give commands to the clock daemon
542 .Pn /usr/sbin/cron
543 to be executed every day at a specified time.
544 This is done by adding lines to
545 .Pn /etc/crontab.local ;
546 see
547 .Xr cron (8)
548 for details.
549 .Sh 2 "Resource control"
550 .PP
551 Resource control in the current version of UNIX is more
552 elaborate than in most UNIX systems.  The disk quota
553 facilities developed at the University of Melbourne have
554 been incorporated in the system and allow control over the
555 number of files and amount of disk space each user and/or group may use
556 on each filesystem.  In addition, the resources consumed
557 by any single process can be limited by the mechanisms of
558 .Xr setrlimit (2).
559 As distributed, the latter mechanism
560 is voluntary, though sites may choose to modify the login
561 mechanism to impose limits not covered with disk quotas.
562 .PP
563 To use the disk quota facilities, the system must be
564 configured with ``options QUOTA''.  Filesystems may then
565 be placed under the quota mechanism by creating a null file
566 .Pn quota.user
567 and/or
568 .Pn quota.group
569 at the root of the filesystem, running
570 .Xr quotacheck (8),
571 and modifying
572 .Pn /etc/fstab
573 to show that the filesystem is to run
574 with disk quotas (options userquota and/or groupquota).
575 The
576 .Xr quotaon (8)
577 program may then be run to enable quotas.
578 .PP
579 Individual quotas are applied by using the quota editor
580 .Xr edquota (8).
581 Users may view their quotas (but not those of other users) with the
582 .Xr quota (1)
583 program. The
584 .Xr repquota (8)
585 program may be used to summarize the quotas and current
586 space usage on a particular filesystem or filesystems.
587 .PP
588 Quotas are enforced with \fIsoft\fP and \fIhard\fP limits.
589 When a user and/or group first reaches a soft limit on a resource, a
590 message is generated on their terminal.  If the user and/or group fails to
591 lower the resource usage below the soft limit
592 for longer than the time limit established for that filesystem
593 (default seven days) the system then treats the soft limit as a
594 \fIhard\fP limit and disallows any allocations until enough space is
595 reclaimed to bring the user and/or group back below the soft limit.
596 Hard limits are enforced strictly resulting in errors when a user
597 and/or group tries to create or write a file.  Each time a hard limit is
598 exceeded the system will generate a message on the user's terminal.
599 .PP
600 Consult the auxiliary document, ``Disc Quotas in a UNIX Environment'' (SMM:4)
601 and the appropriate manual entries for more information.
602 .Sh 2 "Network troubleshooting"
603 .PP
604 If you have anything more than a trivial network configuration,
605 from time to time you are bound to run into problems.  Before
606 blaming the software, first check your network connections.  On
607 networks such as the Ethernet a
608 loose cable tap or misplaced power cable can result in severely
609 deteriorated service.  The
610 .Xr netstat (1)
611 program may be of aid in tracking down hardware malfunctions.
612 In particular, look at the \fB\-i\fP and \fB\-s\fP options in the manual page.
613 .PP
614 Should you believe a communication protocol problem exists,
615 consult the protocol specifications and attempt to isolate the
616 problem in a packet trace.  The SO_DEBUG option may be supplied
617 before establishing a connection on a socket, in which case the
618 system will trace all traffic and internal actions (such as timers
619 expiring) in a circular trace buffer.
620 This buffer may then be printed out with the
621 .Xr trpt (8)
622 program.
623 Most of the servers distributed with the system
624 accept a \fB\-d\fP option forcing
625 all sockets to be created with debugging turned on.
626 Consult the appropriate manual pages for more information.
627 .Sh 2 "Files that need periodic attention"
628 .PP
629 We conclude the discussion of system operations by listing
630 the files that require periodic attention or are system specific:
631 .TS
632 center;
633 lfC l.
634 /etc/fstab      how disk partitions are used
635 /etc/disktab    default disk partition sizes/labels
636 /etc/printcap   printer database
637 /etc/gettytab   terminal type definitions
638 /etc/remote     names and phone numbers of remote machines for \fItip\fP(1)
639 /etc/group      group memberships
640 /etc/motd       message of the day
641 /etc/master.passwd      password file; each account has a line
642 /etc/rc.local   local system restart script; runs reboot; starts daemons
643 /etc/inetd.conf local internet servers
644 /etc/hosts      local host name database
645 /etc/networks   network name database
646 /etc/services   network services database
647 /etc/hosts.equiv        hosts under same administrative control
648 /etc/syslog.conf        error log configuration for \fIsyslogd\fP\|(8)
649 /etc/ttys       enables/disables ports
650 /etc/crontab    commands that are run periodically
651 /etc/crontab.local      local commands that are run periodically
652 /etc/aliases    mail forwarding and distribution groups
653 /var/account/acct       raw process account data
654 /var/log/messages       system error log
655 /var/log/wtmp   login session accounting
656 .TE
657 .pn 2
658 .bp
659 .PX