summaryrefslogtreecommitdiff
path: root/share/man/man8/intro.8
blob: ac9eaf327242bea5a7e39c1bce5426d979b6729c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
.\"	$OpenBSD: intro.8,v 1.17 2010/02/18 13:39:21 schwarze Exp $
.\"	$NetBSD: intro.8,v 1.3 1994/11/30 19:36:24 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"	@(#)intro.8	8.2 (Berkeley) 12/11/93
.\"
.Dd $Mdocdate: February 18 2010 $
.Dt INTRO 8
.Os
.Sh NAME
.Nm intro
.Nd introduction to system maintenance and operation commands
.Sh DESCRIPTION
The manual pages in section 8 contain information related to
system operation and maintenance.
They describe commands concerning file systems,
such as
.Xr edquota 8 ,
.Xr fsck 8 ,
.Xr mount 8 ,
and
.Xr newfs 8 .
They also cover commands concerning system backup/recovery, such as
.Xr dump 8
and
.Xr restore 8 .
.Pp
There are pages which document the running of the system, such as
.Xr afterboot 8 ,
.Xr ifconfig 8 ,
.Xr security 8 ,
and the configuration files located in
.Pa /etc .
Procedures concerning system failure are documented in
.Xr crash 8 .
.Pp
Section 8 pages also describe network services and daemons.
The rest of this page discusses some of the main daemons
available on the
.Ox
system,
and how to enable/disable them.
.Pp
System daemons are controlled by the script
.Xr rc 8 ,
which is in turn configured by
.Xr rc.conf 8 .
For example the HTTP daemon
.Xr httpd 8
is controlled by the following line from
.Xr rc.conf 8 :
.Bd -literal -offset indent
httpd_flags=NO
.Ed
.Pp
Thus it is not started by default.
To enable or disable daemon processes,
administrators should edit the file
.Xr rc.conf.local 8 ,
which overrides
.Xr rc.conf 8 .
So to enable
.Xr httpd 8 ,
the following line might be added to
.Pa /etc/rc.conf.local :
.Bd -literal -offset indent
httpd_flags=""
.Ed
or
.Bd -literal -offset indent -compact
httpd_flags="-DSSL"
.Ed
.Pp
As can be seen above,
this method is also used to specify additional options.
.Pp
Below is a list of some of the daemons available.
For further information, see
.Xr rc 8
and the individual pages for the utilities.
.Ss Apache web server (HTTP)
The apache web server,
.Xr httpd 8 .
On
.Ox ,
it will
.Xr chroot 2
to the
.Dq ServerRoot
path.
Detailed information is available in
.Pa /usr/share/doc/html/httpd/ .
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va httpd_flags .
.Ss Automounter daemon (amd)
If using the
.Xr amd 8
package,
go into the
.Pa /etc/amd
directory and set it up by
renaming
.Pa master.sample
to
.Pa master
and editing it and creating other maps as needed.
Alternatively, you can get your maps with YP.
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va amd ,
.Va amd_dir ,
and
.Va amd_master .
.Ss BIND name server (DNS)
If you are using the BIND name server, check the
.Pa /etc/resolv.conf
file.
It may look something like:
.Bd -literal -offset indent
domain nts.umn.edu
nameserver 128.101.101.101
nameserver 134.84.84.84
search nts.umn.edu. umn.edu.
lookup file bind
.Ed
.Pp
If using a caching name server, add the line "nameserver 127.0.0.1" first.
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va named_flags .
.Ss Clock synchronisation
In order to make sure the system clock is correct,
it may be synchronised with a number of external sources.
The utilities available are:
.Xr ntpd 8 ,
.Xr rdate 8 ,
and
.Xr timed 8 .
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va ntpd_flags ,
.Va rdate_flags ,
and
.Va timed_flags .
.Ss Concatenated disks (ccd)
If you are using
.Xr ccd 4
concatenated disks, edit
.Pa /etc/ccd.conf .
Use the
.Ic ccdconfig -U
command to unload and the
.Ic ccdconfig -C
command to create tables internal to the kernel for the concatenated disks.
You then
.Xr mount 8 ,
.Xr umount 8 ,
and edit
.Pa /etc/fstab
as needed.
.Ss BOOTP/DHCP server
If this is a
BOOTP or DHCP
server, edit
.Pa /etc/dhcpd.conf
as needed.
See also
.Xr diskless 8 .
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va bootparamd_flags ,
.Va dhcpd_flags ,
and
.Va dhcrelay_flags .
.Ss HP remote boot server
Edit
.Pa /etc/rbootd.conf
if needed for remote booting.
If you do not have HP computers doing remote booting, do not enable this.
See also
.Xr diskless 8 .
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va rbootd_flags .
.Ss Kerberos
If you are going to use
.Xr kerberos 8
for authentication, and you already have a
Kerberos
master, change directory to
.Pa /etc/kerberosV
and configure.
Remember to get a
.Pa srvtab
from the master so that the remote commands work.
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va krb5_master_kdc
and
.Va krb5_slave_kdc .
.Ss NFS server
If this is an NFS server,
edit
.Pa /etc/exports .
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va nfs_server
and
.Va nfsd_flags .
.Ss Relay Daemon
A relay daemon,
.Xr relayd 8 ,
able to run as a
load-balancer, application layer gateway, or transparent proxy.
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va relayd_flags .
.Ss Routing Daemons
Various daemons for managing routing tables are available:
.Xr bgpd 8 ,
.Xr ospfd 8 ,
and
.Xr ripd 8 .
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va bgpd_flags ,
.Va ospfd_flags ,
and
.Va ripd_flags .
.Ss RPC-based network services
Several services depend on the RPC portmapper,
.Xr portmap 8 ,
being running for proper operation.
This includes YP and NFS exports, among other services.
.Pp
Relevant
.Xr rc.conf 8
variables:
.Va portmap .
.Ss YP setup
Check the YP domain name with the
.Xr domainname 1
command.
If necessary, correct it by editing the
.Pa /etc/defaultdomain
file (see
.Xr defaultdomain 5 ) .
The
.Pa /etc/netstart
script reads this file on boot to determine and set the domain name.
You may also set the running system's domain name with the
.Xr domainname 1
command.
To start YP client services, simply run
.Ic ypbind ,
then perform the remaining
YP activation as described in
.Xr passwd 5
and
.Xr group 5 .
.Pp
In particular, to enable YP passwd support, you'll need to add the following
line to
.Pa /etc/master.passwd :
.Pp
.Dl +:*::::::::
.Pp
You do this by using
.Xr vipw 8 .
.Pp
There are many more YP man pages available to help you.
You can find more information by starting with
.Xr yp 8 .
.Sh SEE ALSO
.Xr afterboot 8 ,
.Xr rc 8 ,
.Xr rc.conf 8
.Sh HISTORY
The
.Nm intro
section manual page appeared in
.Bx 4.2 .