1999-02-15 15:42:12 +03:00
|
|
|
.\" $NetBSD: rc.conf.5,v 1.20 1999/02/15 12:42:12 lukem Exp $
|
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Luke Mewburn.
|
|
|
|
.\"
|
|
|
|
.\" 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. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Luke Mewburn.
|
|
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
|
1997-01-05 14:50:12 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1996 Matthew R. Green
|
1997-03-23 10:57:22 +03:00
|
|
|
.\" Copyright (c) 1997 Curt J. Sampson
|
1997-05-12 09:21:51 +04:00
|
|
|
.\" Copyright (c) 1997 Michael W. Long
|
1997-01-05 14:50:12 +03:00
|
|
|
.\" 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.
|
1997-10-10 09:39:47 +04:00
|
|
|
.\" 3. The name of the author may not be used to endorse or promote products
|
1997-01-05 14:50:12 +03:00
|
|
|
.\" derived from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
|
|
|
|
.\"
|
1999-02-15 15:42:12 +03:00
|
|
|
.Dd February 15, 1999
|
1997-01-05 14:50:12 +03:00
|
|
|
.Dt RC.CONF 5
|
|
|
|
.Os NetBSD 1.3
|
1997-03-23 10:57:22 +03:00
|
|
|
.\" turn off hyphenation
|
|
|
|
.hym 999
|
1997-01-05 14:50:12 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm rc.conf
|
|
|
|
.Nd system startup configuration file
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
file specifies which services are enabled during system startup by
|
|
|
|
the startup script
|
|
|
|
.Pa /etc/rc .
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
file is a shell script that is sourced by
|
|
|
|
.Pa /etc/rc
|
1997-09-02 07:03:49 +04:00
|
|
|
if it exists, meaning that
|
1997-01-05 14:50:12 +03:00
|
|
|
.Nm
|
1997-05-12 09:21:51 +04:00
|
|
|
must contain valid shell commands.
|
1997-01-05 14:50:12 +03:00
|
|
|
.Pp
|
1997-03-17 04:22:49 +03:00
|
|
|
Listed below are the
|
1997-05-12 09:21:51 +04:00
|
|
|
.Nm
|
1997-09-02 07:03:49 +04:00
|
|
|
variables that may be set, the values to which each may be set,
|
1997-05-12 09:21:51 +04:00
|
|
|
a brief description of what each variable does, and a reference to
|
1997-08-29 06:24:04 +04:00
|
|
|
relevant manual pages.
|
|
|
|
.Pp
|
|
|
|
Most variables are one of two types: enabling variables or flags
|
1998-04-29 15:33:55 +04:00
|
|
|
variables.
|
|
|
|
Enabling variables, such as
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy inetd ,
|
|
|
|
are generally named after the program or the system they enable,
|
1998-04-29 15:33:55 +04:00
|
|
|
and are set to "YES" or "NO".
|
|
|
|
Flags variables, such as
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy inetd_flags
|
|
|
|
have the same name with "_flags" appended, and determine what
|
|
|
|
arguments are passed to the program if it is enabled.
|
|
|
|
.Pp
|
|
|
|
If a variable that
|
|
|
|
.Pa /etc/rc
|
|
|
|
expects to be set is not set, or the value is not one of the allowed
|
|
|
|
values, a warning will be printed.
|
1997-01-05 14:50:12 +03:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Basic network configuration:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-05-12 15:28:19 +04:00
|
|
|
.It Sy hostname
|
|
|
|
Name of host.
|
|
|
|
If empty or not set, then the contents of
|
|
|
|
.Pa /etc/myname
|
|
|
|
(if it exists) are used.
|
|
|
|
.It Sy domainname
|
1999-01-16 17:16:41 +03:00
|
|
|
.Tn NIS
|
|
|
|
(YP) domain of host.
|
1997-05-12 15:28:19 +04:00
|
|
|
If empty or not set, then the contents of
|
|
|
|
.Pa /etc/defaultdomain
|
|
|
|
(if it exists) are used.
|
|
|
|
.It Sy defaultroute
|
|
|
|
Default network route.
|
|
|
|
If empty or not set, then the contents of
|
|
|
|
.Pa /etc/mygate
|
|
|
|
(if it exists) are used.
|
|
|
|
.El
|
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Boottime file-system and swap configuration:
|
1997-11-23 07:18:14 +03:00
|
|
|
.Bl -tag -width critical_filesystems
|
|
|
|
.It Sy critical_filesystems
|
|
|
|
File systems mounted very early in the system boot, except for the
|
|
|
|
.Pa /usr
|
|
|
|
and
|
|
|
|
.Pa /var
|
|
|
|
file-systems.
|
|
|
|
.It Sy no_swap
|
|
|
|
Set the
|
|
|
|
.Sy no_swap
|
1998-04-29 15:33:55 +04:00
|
|
|
variable to YES if you have configured your system with no swap on purpose.
|
|
|
|
If not set, or set to anything other than YES, and no swap devices
|
|
|
|
are configured, the system will warn you.
|
1997-11-23 07:18:14 +03:00
|
|
|
.El
|
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss One-time actions to perform or programs to run on boot-up:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy lkm
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-09-02 07:03:49 +04:00
|
|
|
.Pa /etc/rc.lkm .
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy savecore
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs the
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr savecore 8
|
1998-04-29 15:33:55 +04:00
|
|
|
utility.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy savecore_flags .
|
1997-05-12 09:21:51 +04:00
|
|
|
.It Sy update_motd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Updates the
|
1997-05-12 09:21:51 +04:00
|
|
|
.Nx
|
|
|
|
version string in the
|
|
|
|
.Pa /etc/motd
|
1998-04-29 15:33:55 +04:00
|
|
|
file to reflect the version of the running kernel.
|
|
|
|
See
|
1997-05-12 09:21:51 +04:00
|
|
|
.Xr motd 5 .
|
|
|
|
.El
|
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss System security setting:
|
1999-01-31 11:46:58 +03:00
|
|
|
.Bl -tag -width securelevel
|
|
|
|
.It Sy securelevel
|
|
|
|
A number. The system securelevel is set to the specified value early
|
|
|
|
in the boot process, before any external logins, or other programs
|
|
|
|
that run users job, are started. If set to nothing, the default
|
|
|
|
action is taken, as described
|
|
|
|
.Xr init 8 ,
|
|
|
|
which contains definative information about the system securelevel.
|
|
|
|
.El
|
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Networking startup:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-04-02 06:02:51 +04:00
|
|
|
.It Sy ipfilter
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-04-02 06:02:51 +04:00
|
|
|
.Xr ipf 8
|
1997-09-02 07:03:49 +04:00
|
|
|
to load in packet filter specifications from
|
1997-04-02 06:02:51 +04:00
|
|
|
.Pa /etc/ipf.conf
|
1998-04-29 15:33:55 +04:00
|
|
|
at network boot time, before any interfaces are configured.
|
|
|
|
See
|
1997-04-02 06:02:51 +04:00
|
|
|
.Xr ipf 5 .
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy auto_ifconfig
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Sets the
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy net_interfaces
|
|
|
|
variable (see below) to the output of
|
1997-04-02 00:17:43 +04:00
|
|
|
.Xr ifconfig 8
|
|
|
|
with the
|
1997-09-02 07:03:49 +04:00
|
|
|
.Ar -l
|
1997-08-29 06:24:04 +04:00
|
|
|
flag and suppresses warnings about interfaces in this list that
|
|
|
|
do not have an ifconfig file or variable.
|
|
|
|
.It Sy net_interfaces
|
|
|
|
The list of network interfaces to be configured at boot time.
|
|
|
|
For each interface "xxn", the system first looks for ifconfig
|
|
|
|
parameters in
|
|
|
|
.Pa /etc/ifconfig.xxn
|
|
|
|
and then in the variable
|
1997-09-02 07:03:49 +04:00
|
|
|
.Sy ifconfig_xxn .
|
1997-08-29 06:24:04 +04:00
|
|
|
The contents of the file or the variable are handed to ifconfig
|
1998-04-29 15:33:55 +04:00
|
|
|
after the interface name.
|
|
|
|
If
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy auto_ifconfig
|
|
|
|
is set to "NO" and neither the file nor the variable is found,
|
|
|
|
a warning is printed.
|
1997-05-12 15:28:19 +04:00
|
|
|
.It Sy ifaliases_*
|
|
|
|
List of
|
|
|
|
.Sq Ar "address netmask"
|
|
|
|
pairs to configure additional network addresses for the given
|
|
|
|
configured interface
|
|
|
|
.Dq *
|
|
|
|
(e.g.
|
|
|
|
.Sy ifaliases_le0 ) .
|
|
|
|
If
|
|
|
|
.Ar netmask
|
|
|
|
is
|
|
|
|
.Dq - ,
|
|
|
|
then use the default netmask for the interface.
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy flushroutes
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Flushes the route table on networking startup.
|
|
|
|
Useful when coming up to multiuser mode after going down to
|
|
|
|
single-user mode.
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy ntpdate
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr ntpdate 8
|
|
|
|
to set the system time from one of the hosts in
|
|
|
|
.Sy ntpdate_hosts .
|
|
|
|
If
|
|
|
|
.Sy ntpdate_hosts
|
|
|
|
is empty, it will attempt to find a list of hosts in
|
|
|
|
.Pa /etc/ntp.conf .
|
1997-11-17 20:45:34 +03:00
|
|
|
.It Sy ppp_peers
|
|
|
|
If
|
|
|
|
.Sy ppp_peers
|
|
|
|
is not empty, then
|
|
|
|
.Pa /etc/netstart
|
|
|
|
will check each word in
|
|
|
|
.Sy ppp_peers
|
|
|
|
for a coresponding ppp configuration file in
|
|
|
|
.Pa /etc/ppp/peers
|
|
|
|
and will call
|
|
|
|
.Xr pppd 8
|
|
|
|
with the
|
|
|
|
.Dq call Sy peer
|
|
|
|
option.
|
1997-04-02 00:17:43 +04:00
|
|
|
.El
|
1998-04-29 15:33:55 +04:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Daemons required by other daemons:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy inetd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs the
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr inetd 8
|
1997-09-02 07:03:49 +04:00
|
|
|
daemon to start network server processes (as listed in
|
1997-03-23 10:57:22 +03:00
|
|
|
.Pa /etc/inetd.conf )
|
1998-04-29 15:33:55 +04:00
|
|
|
as necessary.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy inetd_flags .
|
|
|
|
The
|
1997-03-23 10:57:22 +03:00
|
|
|
.Ar -l
|
1997-08-29 06:24:04 +04:00
|
|
|
flag turns on libwrap connection logging.
|
1997-03-23 10:57:22 +03:00
|
|
|
.It Sy portmap
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
The
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr portmap 8
|
1997-05-12 09:21:51 +04:00
|
|
|
daemon is required for any
|
|
|
|
.Xr rpc 3
|
1998-04-29 15:33:55 +04:00
|
|
|
services.
|
1999-01-16 17:16:41 +03:00
|
|
|
These include NFS,
|
|
|
|
.Tn NIS ,
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr bootparamd 8 ,
|
|
|
|
.Xr rstatd 8 ,
|
|
|
|
.Xr rusersd 8 ,
|
|
|
|
and
|
|
|
|
.Xr rwalld 8 .
|
|
|
|
.El
|
1997-05-12 09:21:51 +04:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Commonly used daemons:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy update
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr update 8
|
1997-08-29 06:24:04 +04:00
|
|
|
and passes
|
|
|
|
.Sy update_flags .
|
|
|
|
.It Sy syslogd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr syslogd 8
|
|
|
|
and passes
|
|
|
|
.Sy syslogd_flags .
|
|
|
|
.It Sy named
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr named 8
|
|
|
|
and passes
|
|
|
|
.Sy named_flags .
|
|
|
|
.It Sy timed
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr timed 8
|
|
|
|
and passes
|
|
|
|
.Sy timed_flags .
|
|
|
|
The
|
|
|
|
.Ar -M
|
|
|
|
option allows
|
|
|
|
.Xr timed 8
|
1998-04-29 15:33:55 +04:00
|
|
|
to be a master time source as well as a slave.
|
|
|
|
If you are also running
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr xntpd 8 ,
|
|
|
|
only one machine running both should have the
|
1997-03-23 10:57:22 +03:00
|
|
|
.Ar -M
|
1997-08-29 06:24:04 +04:00
|
|
|
flag given to
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr timed 8 .
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy xntpd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr xntpd 8
|
|
|
|
and passes
|
|
|
|
.Sy xntpd_flags .
|
|
|
|
.It Sy sendmail
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-09-02 07:03:49 +04:00
|
|
|
.Xr sendmail 8
|
|
|
|
and passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy sendmail_flags .
|
|
|
|
.It Sy lpd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr lpd 8
|
|
|
|
and passes
|
|
|
|
.Sy lpd_flags .
|
1997-03-23 10:57:22 +03:00
|
|
|
The
|
|
|
|
.Ar -l
|
1997-08-29 06:24:04 +04:00
|
|
|
flag will turn on extra logging.
|
1997-03-23 10:57:22 +03:00
|
|
|
.El
|
1997-05-12 09:21:51 +04:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Routing daemons:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy routed
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr routed 8 ,
|
1998-04-29 15:33:55 +04:00
|
|
|
the RIP routing protocol daemon.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy routed_flags .
|
|
|
|
This should be NO if
|
|
|
|
.Sy gated
|
|
|
|
is YES.
|
|
|
|
.It Sy gated
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr gated 8 ,
|
1998-04-29 15:33:55 +04:00
|
|
|
the multiprotocol routing daemon.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy gated_flags .
|
1997-03-23 10:57:22 +03:00
|
|
|
This should be NO if
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy routed
|
|
|
|
is YES.
|
1998-04-29 15:33:55 +04:00
|
|
|
.Xr gated 8
|
1997-03-23 10:57:22 +03:00
|
|
|
is not included with
|
|
|
|
.Nx .
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy mrouted
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr mrouted 8 ,
|
1998-04-29 15:33:55 +04:00
|
|
|
the DVMRP multicast routing protocol daemon.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy mrouted_flags .
|
1997-03-23 10:57:22 +03:00
|
|
|
.El
|
1997-05-12 09:21:51 +04:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Daemons used to boot other hosts over a network:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy rarpd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr rarpd 8 ,
|
|
|
|
the reverse ARP daemon, often used to boot
|
1997-05-12 09:21:51 +04:00
|
|
|
.Nx
|
1998-04-29 15:33:55 +04:00
|
|
|
and Sun workstations.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy rarpd_flags .
|
|
|
|
.It Sy bootparamd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr bootparamd 8 ,
|
|
|
|
the boot parameter server, with
|
1997-09-02 07:03:49 +04:00
|
|
|
.Sy bootparamd_flags
|
1998-04-29 15:33:55 +04:00
|
|
|
as options.
|
|
|
|
Used to boot
|
1997-05-12 09:21:51 +04:00
|
|
|
.Nx
|
1998-04-29 15:33:55 +04:00
|
|
|
and
|
|
|
|
.Tn "SunOS 4.x"
|
|
|
|
systems.
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy dhcpd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr dhcpd 8 ,
|
1998-04-29 15:33:55 +04:00
|
|
|
the Dynamic Host Configuration Protocol (DHCP) daemon,
|
|
|
|
for assigning IP addresses to hosts and passing boot information.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy dhcpd_flags .
|
|
|
|
.It Sy rbootd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr rbootd 8 ,
|
1998-04-29 15:33:55 +04:00
|
|
|
the
|
|
|
|
.Tn HP
|
|
|
|
boot protocol daemon; used for booting
|
|
|
|
.Tn HP
|
|
|
|
workstations.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy rbootd_flags .
|
|
|
|
.It Sy mopd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr mopd 8 ,
|
1998-04-29 15:33:55 +04:00
|
|
|
the
|
|
|
|
.Tn DEC
|
|
|
|
.Tn MOP
|
|
|
|
protocol daemon; used for booting
|
|
|
|
.Tn VAX
|
|
|
|
and other
|
|
|
|
.Tn DEC
|
|
|
|
machines.
|
1997-08-29 06:24:04 +04:00
|
|
|
Passes
|
|
|
|
.Sy mopd_flags .
|
1997-03-23 10:57:22 +03:00
|
|
|
.El
|
1997-05-12 09:21:51 +04:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss NIS (YP) daemons:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy ypbind
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr ypbind 8 ,
|
1999-01-16 17:16:41 +03:00
|
|
|
which lets
|
|
|
|
.Tn NIS
|
|
|
|
(YP) clients use information from a
|
|
|
|
.Tn NIS
|
|
|
|
server.
|
1998-04-29 15:33:55 +04:00
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy ypbind_flags .
|
|
|
|
.It Sy ypserv
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr ypserv 8 ,
|
1999-01-16 17:16:41 +03:00
|
|
|
the
|
|
|
|
.Tn NIS
|
|
|
|
(YP) server for distributing information from certain files in
|
1997-03-23 10:57:22 +03:00
|
|
|
.Pa /etc .
|
1997-08-29 06:24:04 +04:00
|
|
|
Passes
|
|
|
|
.Sy ypserv_flags .
|
|
|
|
The
|
|
|
|
.Ar -d
|
|
|
|
flag causes it to use DNS for lookups in
|
|
|
|
.Pa /etc/hosts
|
|
|
|
that fail.
|
|
|
|
.It Sy yppasswdd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr yppasswdd 8 ,
|
1999-01-16 17:16:41 +03:00
|
|
|
which allows remote
|
|
|
|
.Tn NIS
|
|
|
|
users to update password on master server.
|
1998-04-29 15:33:55 +04:00
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy yppasswdd_flags .
|
1997-01-05 14:50:12 +03:00
|
|
|
.El
|
1997-05-12 09:21:51 +04:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss NFS daemons and parameters:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
1997-03-23 10:57:22 +03:00
|
|
|
.It Sy nfs_client
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr nfsiod 8
|
1998-04-29 15:33:55 +04:00
|
|
|
to increase performance of an NFS client host.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy nfsiod_flags .
|
1997-01-05 14:50:12 +03:00
|
|
|
.It Sy nfs_server
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Sets up a host to be a NFS server by running
|
1997-01-05 14:50:12 +03:00
|
|
|
.Xr mountd 8
|
1997-03-23 10:57:22 +03:00
|
|
|
and
|
1998-04-29 15:33:55 +04:00
|
|
|
.Xr nfsd 8 ,
|
|
|
|
and passing
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy mountd_flags
|
1997-03-23 10:57:22 +03:00
|
|
|
and
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy nfsd_flags
|
|
|
|
to them, respectively.
|
|
|
|
.It Sy lockd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr rpc.lockd 8
|
|
|
|
if either
|
|
|
|
.Sy nfs_server
|
|
|
|
or
|
1997-03-10 10:06:17 +03:00
|
|
|
.Sy nfs_client
|
1998-04-29 15:33:55 +04:00
|
|
|
is (or both are) set to YES.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy lockd_flags .
|
|
|
|
.It Sy statd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-08-29 06:24:04 +04:00
|
|
|
.Xr rpc.statd 8 ,
|
|
|
|
a status monitoring daemon used when
|
1998-04-29 15:33:55 +04:00
|
|
|
.Xr rpc.lockd 8
|
1997-08-29 06:24:04 +04:00
|
|
|
is running, if either
|
1997-03-10 10:06:17 +03:00
|
|
|
.Sy nfs_server
|
1997-08-29 06:24:04 +04:00
|
|
|
or
|
1997-03-10 10:06:17 +03:00
|
|
|
.Sy nfs_client
|
1998-04-29 15:33:55 +04:00
|
|
|
is (or both are) set to YES.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy statd_flags .
|
|
|
|
.It Sy amd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr amd 8 ,
|
1997-08-29 06:24:04 +04:00
|
|
|
the automounter daemon, which automatically mounts NFS file systems
|
1998-04-29 15:33:55 +04:00
|
|
|
whenever a file or directory within that filesystem is accessed.
|
|
|
|
Passes
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy amd_flags .
|
1997-01-05 14:50:12 +03:00
|
|
|
.It Sy amd_dir
|
|
|
|
The
|
1998-04-29 15:33:55 +04:00
|
|
|
.Xr amd 8
|
|
|
|
mount directory.
|
|
|
|
Used only if
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy amd
|
|
|
|
is set to YES.
|
1997-01-05 14:50:12 +03:00
|
|
|
.It Sy amd_master
|
|
|
|
The
|
1998-04-29 15:33:55 +04:00
|
|
|
.Xr amd 8
|
1997-01-05 14:50:12 +03:00
|
|
|
automounter master map.
|
1997-03-23 10:57:22 +03:00
|
|
|
Used only if
|
1997-08-29 06:24:04 +04:00
|
|
|
.Sy amd
|
|
|
|
is set to YES.
|
1997-01-05 14:50:12 +03:00
|
|
|
.El
|
1997-05-12 09:21:51 +04:00
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss X Window System daemons:
|
1997-11-11 05:28:58 +03:00
|
|
|
.Bl -tag -width net_interfaces
|
|
|
|
.It Sy xfs
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs the
|
1997-11-11 05:28:58 +03:00
|
|
|
.Xr xfs 1
|
|
|
|
X11 font server, which supplies local X font files to X terminals.
|
|
|
|
.It Sy xdm
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs the
|
1997-11-11 05:28:58 +03:00
|
|
|
.Xr xdm 1
|
|
|
|
X display manager.
|
|
|
|
These X daemons are available only with the optional X distribution of
|
|
|
|
.Nx .
|
|
|
|
.El
|
|
|
|
.Pp
|
1999-02-15 15:42:12 +03:00
|
|
|
.Ss Other daemons:
|
1997-09-02 07:03:49 +04:00
|
|
|
.Bl -tag -width net_interfaces
|
|
|
|
.It Sy apmd
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-09-02 07:03:49 +04:00
|
|
|
.Xr apmd 8
|
|
|
|
and passes
|
|
|
|
.Sy apmd_flags .
|
1997-03-23 10:57:22 +03:00
|
|
|
.It Sy rwhod
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
1997-09-02 07:03:49 +04:00
|
|
|
.Xr rwhod 8
|
1997-08-29 06:24:04 +04:00
|
|
|
to support the
|
1997-09-02 07:03:49 +04:00
|
|
|
.Xr rwho 1
|
1998-04-29 15:33:55 +04:00
|
|
|
and
|
|
|
|
.Xr ruptime 1
|
|
|
|
commands.
|
1997-08-29 06:24:04 +04:00
|
|
|
.It Sy kerberos
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs the kerberos server
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr kerberos 8
|
1998-04-29 15:33:55 +04:00
|
|
|
and the kerberos admininstration server,
|
1997-03-23 10:57:22 +03:00
|
|
|
.Xr kadmind 8 .
|
|
|
|
This should only be run on the kerberos master server.
|
1997-11-11 05:28:58 +03:00
|
|
|
Both servers implement version IV of the Kerberos protocol, not the
|
|
|
|
newer Kerberos version 5.
|
1997-03-23 10:57:22 +03:00
|
|
|
The kerberos server is only available with the domestic distribution of
|
|
|
|
.Nx .
|
1998-04-07 08:47:53 +04:00
|
|
|
.It Sy screenblank
|
1998-04-29 15:33:55 +04:00
|
|
|
YES or NO.
|
|
|
|
Runs
|
|
|
|
.Xr screenblank 1
|
1998-04-07 08:47:53 +04:00
|
|
|
and passes
|
|
|
|
.Sy screenblank_flags .
|
1997-01-05 14:50:12 +03:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Pa /etc/rc.conf
|
|
|
|
.Sh SEE ALSO
|
1997-05-12 09:21:51 +04:00
|
|
|
.Xr boot 8 ,
|
|
|
|
.Xr rc 8
|
1997-01-05 14:50:12 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
file appeared in
|
|
|
|
.Nx 1.3 .
|