xref: /openbsd-src/share/man/man8/intro.8 (revision a80951f8fb47f73bce03964195a9de8384175c3e)
1*a80951f8Snaddy.\"	$OpenBSD: intro.8,v 1.29 2019/05/26 00:52:22 naddy Exp $
2df930be7Sderaadt.\"	$NetBSD: intro.8,v 1.3 1994/11/30 19:36:24 jtc Exp $
3df930be7Sderaadt.\"
4df930be7Sderaadt.\" Copyright (c) 1983, 1991, 1993
5df930be7Sderaadt.\"	The Regents of the University of California.  All rights reserved.
6df930be7Sderaadt.\"
7df930be7Sderaadt.\" Redistribution and use in source and binary forms, with or without
8df930be7Sderaadt.\" modification, are permitted provided that the following conditions
9df930be7Sderaadt.\" are met:
10df930be7Sderaadt.\" 1. Redistributions of source code must retain the above copyright
11df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer.
12df930be7Sderaadt.\" 2. Redistributions in binary form must reproduce the above copyright
13df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer in the
14df930be7Sderaadt.\"    documentation and/or other materials provided with the distribution.
1529295d1cSmillert.\" 3. Neither the name of the University nor the names of its contributors
16df930be7Sderaadt.\"    may be used to endorse or promote products derived from this software
17df930be7Sderaadt.\"    without specific prior written permission.
18df930be7Sderaadt.\"
19df930be7Sderaadt.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20df930be7Sderaadt.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21df930be7Sderaadt.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22df930be7Sderaadt.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23df930be7Sderaadt.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24df930be7Sderaadt.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25df930be7Sderaadt.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26df930be7Sderaadt.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27df930be7Sderaadt.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28df930be7Sderaadt.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29df930be7Sderaadt.\" SUCH DAMAGE.
30df930be7Sderaadt.\"
31df930be7Sderaadt.\"	@(#)intro.8	8.2 (Berkeley) 12/11/93
32df930be7Sderaadt.\"
33*a80951f8Snaddy.Dd $Mdocdate: May 26 2019 $
34df930be7Sderaadt.Dt INTRO 8
35fc8533a3Saaron.Os
36df930be7Sderaadt.Sh NAME
37df930be7Sderaadt.Nm intro
389e6b7c65Sjmc.Nd introduction to system maintenance and operation commands
39df930be7Sderaadt.Sh DESCRIPTION
4057686ba8ShekoThe manual pages in section 8 contain information related to
4157686ba8Shekosystem operation and maintenance.
429e6b7c65SjmcThey describe commands concerning file systems,
439e6b7c65Sjmcsuch as
449e6b7c65Sjmc.Xr edquota 8 ,
459e6b7c65Sjmc.Xr fsck 8 ,
469e6b7c65Sjmc.Xr mount 8 ,
479e6b7c65Sjmcand
489e6b7c65Sjmc.Xr newfs 8 .
499e6b7c65SjmcThey also cover commands concerning system backup/recovery, such as
509e6b7c65Sjmc.Xr dump 8
519e6b7c65Sjmcand
521ba0eaf7Sjmc.Xr restore 8 .
537a491fb3Sjmc.Pp
549e6b7c65SjmcThere are pages which document the running of the system, such as
559e6b7c65Sjmc.Xr afterboot 8 ,
569e6b7c65Sjmc.Xr ifconfig 8 ,
579e6b7c65Sjmc.Xr security 8 ,
589e6b7c65Sjmcand the configuration files located in
599e6b7c65Sjmc.Pa /etc .
609e6b7c65SjmcProcedures concerning system failure are documented in
619e6b7c65Sjmc.Xr crash 8 .
629e6b7c65Sjmc.Pp
639e6b7c65SjmcSection 8 pages also describe network services and daemons.
649e6b7c65SjmcThe rest of this page discusses some of the main daemons
659e6b7c65Sjmcavailable on the
669e6b7c65Sjmc.Ox
679e6b7c65Sjmcsystem,
689e6b7c65Sjmcand how to enable/disable them.
699e6b7c65Sjmc.Pp
709e6b7c65SjmcSystem daemons are controlled by the script
719e6b7c65Sjmc.Xr rc 8 ,
729e6b7c65Sjmcwhich is in turn configured by
739e6b7c65Sjmc.Xr rc.conf 8 .
749e6b7c65SjmcFor example the HTTP daemon
75fa4e122cSrobert.Xr httpd 8
769e6b7c65Sjmcis controlled by the following line from
779e6b7c65Sjmc.Xr rc.conf 8 :
789e6b7c65Sjmc.Bd -literal -offset indent
79fa4e122cSroberthttpd_flags=NO
809e6b7c65Sjmc.Ed
819e6b7c65Sjmc.Pp
829e6b7c65SjmcThus it is not started by default.
839e6b7c65SjmcTo enable or disable daemon processes,
849e6b7c65Sjmcadministrators should edit the file
8588dc3c26Sjmc.Xr rc.conf.local 8
86*a80951f8Snaddyor use the
87*a80951f8Snaddy.Xr rcctl 8
88*a80951f8Snaddyutility.
8988dc3c26SjmcThe
9088dc3c26Sjmc.Xr rc.conf.local 8
9188dc3c26Sjmcfile overrides variable assignments in
929e6b7c65Sjmc.Xr rc.conf 8 .
939e6b7c65SjmcSo to enable
94fa4e122cSrobert.Xr httpd 8 ,
959e6b7c65Sjmcthe following line might be added to
969e6b7c65Sjmc.Pa /etc/rc.conf.local :
979e6b7c65Sjmc.Bd -literal -offset indent
98af6ea42aSjmchttpd_flags="-v"
999e6b7c65Sjmc.Ed
1009e6b7c65Sjmc.Pp
1019e6b7c65SjmcAs can be seen above,
1029e6b7c65Sjmcthis method is also used to specify additional options.
1039e6b7c65Sjmc.Pp
1049e6b7c65SjmcBelow is a list of some of the daemons available.
1059e6b7c65SjmcFor further information, see
1069e6b7c65Sjmc.Xr rc 8
1079e6b7c65Sjmcand the individual pages for the utilities.
1089e6b7c65Sjmc.Ss Automounter daemon (amd)
1099e6b7c65SjmcIf using the
1109e6b7c65Sjmc.Xr amd 8
111af6ea42aSjmcdaemon,
1129e6b7c65Sjmcgo into the
1139e6b7c65Sjmc.Pa /etc/amd
1149e6b7c65Sjmcdirectory and set it up by
1159e6b7c65Sjmcrenaming
1169e6b7c65Sjmc.Pa master.sample
1179e6b7c65Sjmcto
1189e6b7c65Sjmc.Pa master
1199e6b7c65Sjmcand editing it and creating other maps as needed.
1209e6b7c65SjmcAlternatively, you can get your maps with YP.
1219e6b7c65Sjmc.Pp
1229e6b7c65SjmcRelevant
1239e6b7c65Sjmc.Xr rc.conf 8
1249e6b7c65Sjmcvariables:
1258b2a81a4Sajacoutot.Va amd_flags
126df930be7Sderaadtand
1279e6b7c65Sjmc.Va amd_master .
128af6ea42aSjmc.Ss DNS server
129eeecef55SjmcIf you are using a name server, check the
1309e6b7c65Sjmc.Pa /etc/resolv.conf
1319e6b7c65Sjmcfile.
1329e6b7c65SjmcIt may look something like:
1339e6b7c65Sjmc.Bd -literal -offset indent
1349e6b7c65Sjmcdomain nts.umn.edu
1359e6b7c65Sjmcnameserver 128.101.101.101
1369e6b7c65Sjmcnameserver 134.84.84.84
1379e6b7c65Sjmcsearch nts.umn.edu. umn.edu.
1389e6b7c65Sjmclookup file bind
1399e6b7c65Sjmc.Ed
1409e6b7c65Sjmc.Pp
1419e6b7c65SjmcIf using a caching name server, add the line "nameserver 127.0.0.1" first.
1429e6b7c65Sjmc.Pp
1439e6b7c65SjmcRelevant
1449e6b7c65Sjmc.Xr rc.conf 8
1459e6b7c65Sjmcvariables:
146af6ea42aSjmc.Va nsd_flags
147eeecef55Sjmcand
148eeecef55Sjmc.Va unbound_flags .
1499e6b7c65Sjmc.Ss Clock synchronisation
1509e6b7c65SjmcIn order to make sure the system clock is correct,
1519e6b7c65Sjmcit may be synchronised with a number of external sources.
1529e6b7c65SjmcThe utilities available are:
153dd715b7bSderaadt.Xr ntpd 8
1549e6b7c65Sjmcand
155dd715b7bSderaadt.Xr rdate 8 .
1569e6b7c65Sjmc.Pp
1579e6b7c65SjmcRelevant
1589e6b7c65Sjmc.Xr rc.conf 8
1599e6b7c65Sjmcvariables:
1608b2a81a4Sajacoutot.Va ntpd_flags .
1619e6b7c65Sjmc.Ss BOOTP/DHCP server
1629e6b7c65SjmcIf this is a
1639e6b7c65SjmcBOOTP or DHCP
1649e6b7c65Sjmcserver, edit
1659e6b7c65Sjmc.Pa /etc/dhcpd.conf
1669e6b7c65Sjmcas needed.
1679e6b7c65SjmcSee also
1689e6b7c65Sjmc.Xr diskless 8 .
1699e6b7c65Sjmc.Pp
1709e6b7c65SjmcRelevant
1719e6b7c65Sjmc.Xr rc.conf 8
1729e6b7c65Sjmcvariables:
17366e6fd43Sjmc.Va bootparamd_flags ,
17466e6fd43Sjmc.Va dhcpd_flags ,
17566e6fd43Sjmcand
17666e6fd43Sjmc.Va dhcrelay_flags .
1779e6b7c65Sjmc.Ss HP remote boot server
1789e6b7c65SjmcEdit
1799e6b7c65Sjmc.Pa /etc/rbootd.conf
1809e6b7c65Sjmcif needed for remote booting.
1819e6b7c65SjmcIf you do not have HP computers doing remote booting, do not enable this.
1829e6b7c65SjmcSee also
1839e6b7c65Sjmc.Xr diskless 8 .
1849e6b7c65Sjmc.Pp
1859e6b7c65SjmcRelevant
1869e6b7c65Sjmc.Xr rc.conf 8
1879e6b7c65Sjmcvariables:
1889e6b7c65Sjmc.Va rbootd_flags .
189fa4e122cSrobert.Ss httpd web server (HTTP)
19025b63d79SflorianOn
19125b63d79Sflorian.Ox
19225b63d79Sflorianit will
19325b63d79Sflorian.Xr chroot 2
19425b63d79Sflorianto
19525b63d79Sflorian.Pa /var/www .
19625b63d79SflorianDetailed information is available in
197fa4e122cSrobert.Xr httpd 8
19825b63d79Sflorianand
199fa4e122cSrobert.Xr httpd.conf 5 .
20025b63d79Sflorian.Pp
20125b63d79SflorianRelevant
20225b63d79Sflorian.Xr rc.conf 8
20325b63d79Sflorianvariables:
204fa4e122cSrobert.Va httpd_flags .
2059e6b7c65Sjmc.Ss NFS server
2069e6b7c65SjmcIf this is an NFS server,
2079e6b7c65Sjmcedit
2089e6b7c65Sjmc.Pa /etc/exports .
2099e6b7c65Sjmc.Pp
2109e6b7c65SjmcRelevant
2119e6b7c65Sjmc.Xr rc.conf 8
2129e6b7c65Sjmcvariables:
2138b2a81a4Sajacoutot.Va mountd_flags
2149e6b7c65Sjmcand
2159e6b7c65Sjmc.Va nfsd_flags .
216810e07faSjmc.Ss Relay Daemon
217810e07faSjmcA relay daemon,
218810e07faSjmc.Xr relayd 8 ,
219810e07faSjmcable to run as a
220810e07faSjmcload-balancer, application layer gateway, or transparent proxy.
221810e07faSjmc.Pp
222810e07faSjmcRelevant
223810e07faSjmc.Xr rc.conf 8
224810e07faSjmcvariables:
225810e07faSjmc.Va relayd_flags .
226ec54aa75Sjmc.Ss Routing Daemons
227ec54aa75SjmcVarious daemons for managing routing tables are available:
228ec54aa75Sjmc.Xr bgpd 8 ,
229af6ea42aSjmc.Xr eigrpd 8 ,
230ec54aa75Sjmc.Xr ospfd 8 ,
231ec54aa75Sjmcand
232ec54aa75Sjmc.Xr ripd 8 .
233ec54aa75Sjmc.Pp
234ec54aa75SjmcRelevant
235ec54aa75Sjmc.Xr rc.conf 8
236ec54aa75Sjmcvariables:
237ec54aa75Sjmc.Va bgpd_flags ,
238af6ea42aSjmc.Va eigrpd_flags ,
239ec54aa75Sjmc.Va ospfd_flags ,
240ec54aa75Sjmcand
241ec54aa75Sjmc.Va ripd_flags .
2429e6b7c65Sjmc.Ss RPC-based network services
2439e6b7c65SjmcSeveral services depend on the RPC portmapper,
2449e6b7c65Sjmc.Xr portmap 8 ,
2459e6b7c65Sjmcbeing running for proper operation.
2469e6b7c65SjmcThis includes YP and NFS exports, among other services.
2479e6b7c65Sjmc.Pp
2489e6b7c65SjmcRelevant
2499e6b7c65Sjmc.Xr rc.conf 8
2509e6b7c65Sjmcvariables:
2518b2a81a4Sajacoutot.Va portmap_flags .
2529e6b7c65Sjmc.Ss YP setup
2539e6b7c65SjmcCheck the YP domain name with the
2549e6b7c65Sjmc.Xr domainname 1
2559e6b7c65Sjmccommand.
2569e6b7c65SjmcIf necessary, correct it by editing the
2579e6b7c65Sjmc.Pa /etc/defaultdomain
2589e6b7c65Sjmcfile (see
2599e6b7c65Sjmc.Xr defaultdomain 5 ) .
2609e6b7c65SjmcThe
2619e6b7c65Sjmc.Pa /etc/netstart
2629e6b7c65Sjmcscript reads this file on boot to determine and set the domain name.
2639e6b7c65SjmcYou may also set the running system's domain name with the
2649e6b7c65Sjmc.Xr domainname 1
2659e6b7c65Sjmccommand.
2668b2a81a4Sajacoutot.Pp
2678b2a81a4SajacoutotRelevant
2688b2a81a4Sajacoutot.Xr rc.conf 8
2698b2a81a4Sajacoutotvariables:
2708b2a81a4Sajacoutot.Va ypbind_flags .
2718b2a81a4Sajacoutot.Pp
2728b2a81a4SajacoutotAfter starting YP client services, perform the remaining YP activation
2738b2a81a4Sajacoutotas described in
2749e6b7c65Sjmc.Xr passwd 5
2759e6b7c65Sjmcand
2769e6b7c65Sjmc.Xr group 5 .
2779e6b7c65Sjmc.Pp
2789e6b7c65SjmcIn particular, to enable YP passwd support, you'll need to add the following
2799e6b7c65Sjmcline to
2809e6b7c65Sjmc.Pa /etc/master.passwd :
2819e6b7c65Sjmc.Pp
2829e6b7c65Sjmc.Dl +:*::::::::
2839e6b7c65Sjmc.Pp
2849e6b7c65SjmcYou do this by using
2859e6b7c65Sjmc.Xr vipw 8 .
2869e6b7c65Sjmc.Pp
2879e6b7c65SjmcThere are many more YP man pages available to help you.
2889e6b7c65SjmcYou can find more information by starting with
2899e6b7c65Sjmc.Xr yp 8 .
2901ba0eaf7Sjmc.Sh SEE ALSO
2919e6b7c65Sjmc.Xr afterboot 8 ,
2929e6b7c65Sjmc.Xr rc 8 ,
29388dc3c26Sjmc.Xr rc.conf 8 ,
29488dc3c26Sjmc.Xr rcctl 8
295df930be7Sderaadt.Sh HISTORY
2966bebbfa9SschwarzeAn
297df930be7Sderaadt.Nm intro
2986bebbfa9Sschwarzemanual for section 8 appeared in
299df930be7Sderaadt.Bx 4.2 .
300