add man pages for mostly new and some old configuration files.

This commit is contained in:
mrg 1997-01-05 11:50:12 +00:00
parent 52a5311c49
commit 5fb9b57376
9 changed files with 850 additions and 5 deletions

View File

@ -1,12 +1,14 @@
# $NetBSD: Makefile,v 1.16 1996/11/14 17:40:55 gwr Exp $
# $NetBSD: Makefile,v 1.17 1997/01/05 11:50:12 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# missing: dump.5 plot.5
MAN= a.out.5 acct.5 core.5 dir.5 disktab.5 ethers.5 fs.5 fstab.5 group.5 \
hosts.5 link.5 motd.5 netgroup.5 networks.5 nsswitch.conf.5 passwd.5 \
phones.5 printcap.5 protocols.5 remote.5 resolv.conf.5 rpc.5 \
services.5 shells.5 stab.5 ttyaction.5 types.5 utmp.5
MAN= a.out.5 acct.5 core.5 daily.conf.5 dir.5 disktab.5 ethers.5 fs.5 \
fstab.5 group.5 hosts.5 ifaliases.5 ld.so.conf.5 link.5 lkm.conf.5 \
monthly.conf.5 motd.5 netgroup.5 networks.5 nsswitch.conf.5 passwd.5 \
phones.5 printcap.5 protocols.5 rc.conf.5 remote.5 resolv.conf.5 \
rpc.5 security.conf.5 services.5 shells.5 stab.5 ttyaction.5 types.5 \
utmp.5 weekly.conf.5
MLINKS= dir.5 dirent.5 fs.5 inode.5 utmp.5 wtmp.5 utmp.5 lastlog.5
.include <bsd.prog.mk>

121
share/man/man5/daily.conf.5 Normal file
View File

@ -0,0 +1,121 @@
.\" $NetBSD: daily.conf.5,v 1.1 1997/01/05 11:50:13 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt DAILY.CONF 5
.Os NetBSD 1.3
.Sh NAME
.Nm daily.conf
.Nd daily maintenence configuration file
.Sh DESCRIPTION
The
.Nm
file specifies which of the standard
.Pa /etc/daily
services are performed. The
.Pa /etc/daily
script is run, by default, every night on a
.Nx
system.
.Pp
The variables described below can be set to "NO" to disable the test:
.Bl -tag -width purge_accounting
.It Sy find_core
This runs
.Xr find 1
over the entire local filesystem, looking for core files.
.It Sy run_msgs
This runs
.Xr msgs 1
with the ``-c'' argument.
.It Sy expire_news
This runs the
.Pa /etc/expire.news
script.
.It Sy purge_accounting
This ages accounting files in
.Pa /var/account .
.It Sy run_calendar
This runs
.Xr calendar 1
with the ``-a'' argument.
.It Sy check_uucp
This runs the
.Pa /etc/uuclean.daily
script, as the daemon user, and runs
.Xr uustat 1
with the ``-a'' argument.
.It Sy check_disks
This uses the
.Xr df 1
and
.Xr dump 8
to give disk status.
.It Sy check_mailq
This runs
.Xr mailq 1 .
.It Sy check_network
This runs
.Xr netstat 1
with the ``-i'' argument, and also checks the
.Xr rwhod 8
database, and runs
.Xr ruptime 1
if there are hosts in
.Pa /var/rwho .
.It Sy run_fsck
This runs
.Xr fsck 8
with the ``-n'' option.
.It Sy run_rdist
This runs
.Xr rdist 1
with
.Pa /etc/Distfile .
.It Sy run_security
This runs the
.Pa /etc/security
script looking for possible security problems with the system.
.El
.Pp
.Sh FILES
.Pa /etc/daily
.Pa /etc/daily.conf
.Sh SEE ALSO
.Xr weekly.conf 5
.Xr monthly.conf 5
.Xr security.conf 5
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .

View File

@ -0,0 +1,74 @@
.\" $NetBSD: ifaliases.5,v 1.1 1997/01/05 11:50:14 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt IFALIASES 5
.Os NetBSD 1.3
.Sh NAME
.Nm ifaliases
.Nd interface aliases file
.Sh DESCRIPTION
The
.Nm
file specifies the addition addresses (aliases) that each interface will
have, including the netmask.
.Nm
is processed by
.Pa /etc/netstart
at system boot time.
.Pp
Each line of the file is of the form
.Pp
.Bd -unfilled -offset indent -compact
address interface netmask
.Ed
.Pp
The
.Em address
is a network address of the alias. This must be a number or be in
/etc/hosts, as the nameserver is not running at this point.
.Pp
The
.Em interface
is the network interface the alias will be configured on.
.Pp
The
.Em netmask
is the netmask of the aliases network address.
.Sh FILES
.Pa /etc/netstart
.Pa /etc/ifaliases
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .

View File

@ -0,0 +1,55 @@
.\" $NetBSD: ld.so.conf.5,v 1.1 1997/01/05 11:50:15 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt LD.SO.CONF 5
.Os NetBSD 1.3
.Sh NAME
.Nm ld.so.conf
.Nd interface aliases file
.Sh DESCRIPTION
The
.Nm
file specifies the directories to be added to the hints file used by the
run-time linker
.Pa /usr/libexec/ld.so
at system boot time. Each line in
.Nm
is treated as a directory to be added to the hints.
.Sh FILES
.Xr ldconfig 8
.Pa /etc/ld.so.conf
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .

98
share/man/man5/lkm.conf.5 Normal file
View File

@ -0,0 +1,98 @@
.\" $NetBSD: lkm.conf.5,v 1.1 1997/01/05 11:50:16 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt LKM.CONF 5
.Os NetBSD 1.3
.Sh NAME
.Nm lkm.conf
.Nd loadable kernel module configuration file.
.Sh DESCRIPTION
The
.Nm
file specifies loadable kernel modules, see
.Xr lkm 4 ,
that are to be loaded a boot time.
The
.Nm
file
is processed by
.Pa /etc/rc.lkm
at system boot time, if it exists.
.Pp
Each line of the file is of the form
.Pp
.Bd -unfilled -offset indent -compact
path options entry postinstall output
.Ed
.Pp
Except for the
.Em path ,
all other fields can be "-" to indicate empty.
.Pp
The
.Em path
is either an absolute pathname, or the name of a file in
.Pa /lkm
or
.Pa /usr/lkm
that is the LKM to be loaded.
.Pp
The
.Em options
is some combination of the -d and -v options to
.Xr modload 8 .
.Pp
The
.Em entry
is the C symbol to call to initialise the module, defaulting to
.Fn xxxinit .
.Pp
The
.Em postinstall
script is run after the LKM is installed.
.Pp
The output of the
.Xr ld 1
command is stored in
.Em output .
.Sh FILES
.Pa /etc/rc.lkm
.Pa /etc/lkm.conf
.Sh SEE ALSO
.Xr modload 8 ,
.Xr lkm 4
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .

View File

@ -0,0 +1,62 @@
.\" $NetBSD: monthly.conf.5,v 1.1 1997/01/05 11:50:16 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt MONTHLY.CONF 5
.Os NetBSD 1.3
.Sh NAME
.Nm monthly.conf
.Nd monthly maintenence configuration file
.Sh DESCRIPTION
The
.Nm
file specifies which of the standard
.Pa /etc/monthly
services are performed. The
.Pa /etc/monthly
script is run, by default, in the morning of the 1st of every month, on a
.Nx
system.
.Pp
There are currently no monthly tasks.
.Pp
.Sh FILES
.Pa /etc/monthly
.Pa /etc/monthly.conf
.Sh SEE ALSO
.Xr daily.conf 5
.Xr weekly.conf 5
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .

251
share/man/man5/rc.conf.5 Normal file
View File

@ -0,0 +1,251 @@
.\" $NetBSD: rc.conf.5,v 1.1 1997/01/05 11:50:17 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt RC.CONF 5
.Os NetBSD 1.3
.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
if it exists, meaning
that
.Nm
must be valid shell commands.
.Pp
Unless specified otherwise below, the variables of the from
daemon_flags are set to the flags to be passed to the program,
or "NO" if the program is not to be executed.
.Pp
The following variables are used:
.Bl -tag -width bootparamd_flags
.It Sy syslog_flags
Typically set to "" if system logging is to be performed by
.Xr syslogd 8 .
.It Sy routed_flags
Typically set to "-q" if
.Xr routed 8
is used, or "NO".
.It Sy mrouted_flags
Typically set to "" if
.Xr mrouted 8
is used, or "NO".
.It Sy rarpd_flags
Typically set to "-a" if
.Xr rarpd 8
is used, or "NO".
.It Sy bootparamd_flags
Typically set to "" if
.Xr bootparamd 8
is used, or "NO".
.It Sy rbootd_flags
Typically set to "" if
.Xr rbootd 8
is used, or "NO".
.It Sy sendmail_flags
Typically set to "-bd -q30" if
.Xr sendmail 8
is used, or "NO".
.It Sy named_flags
Typically set to "" if
.Xr named 8
is used, or "NO".
.It Sy dhcpd_flags
Typically set to "" if
.Xr dhcpd 8
is used, or "NO".
.It Sy timed_flags
Typically set to "" if
.Xr timed 8
is used, or "NO".
.It Sy inetd_flags
Typically set to "" or "-l" (for extra logging), if
.Xr inetd 8
is used, or "NO".
.It Sy lpd_flags
Typically set to "" or "-l" (for extra logging), if the printer daemon,
.Xr lpd 8 ,
is used, or "NO".
.It Sy ypserv_flags
Typically set to "-d" if your system is to be a YP server,
.Xr ypserv 8
is used, or "NO".
.It Sy yppasswdd_flags
Typically set to "" if your system is to be a YP password server,
.Xr yppasswdd 8
is used, or "NO".
.It Sy ypbind_flags
Typically set to "" if your system is to be a YP client,
.Xr ypbind 8
is used, or "NO".
.It Sy savecore_flags
Typically set to "" if your system is to check for kernel
crash dumps with
.Xr savecore 8 ,
or "NO".
.It Sy gated_flags
Typically set to "" if
.Xr gated 8
is used, or "NO". Note that gated is not supplied with
.Nx .
.El
.Pp
.Bl -tag -width bootparamd_flags
The following variables turn services on or off:
.It Sy ipfilter
Set to YES if ip-filter will be run. Typically reads
.Pa /etc/ipf.conf
at network boot time, before any interfaces are,
configured.
.It Sy lkm_init
Set to YES if
.Xr lkm 4
modules are to be loaded, from the file
.Pa /etc/lkm.conf ,
whose configuration is described in
.Xr lkm.conf 5 .
.It Sy rwhod
Set to "YES" if
.Xr rwhod 8
is to be run.
.It Sy nfs_server
Set to "YES" if the nfs server,
.Xr nfsd 8 ,
and
.Xr mountd 8
are to be run. Additional variables available
.Sy nfs_server
enabled:
.Bl -tag -width mountd_flags
.It Sy mountd_flags
These are flags passed to
.Xr 8 mountd ,
if
.Sy nfs_server
is configured.
.It Sy nfsd_flags
These are flags passed to
.Xr 8 nfsd ,
if
.Sy nfs_server
is configured. They default to ``-tun 4''.
.El
.It Sy nfs_client
Set to "YES" if the nfs client,
.Xr nfsiod 8 ,
is to be run. Additional variables available
.Sy nfs_client
enabled:
.Bl -tag -width nfsiod_flags
.It Sy nfsiod_flags
These are flags passed to
.Xr nfsiod 8
if
.Sy nfs_client
is configured. They default to ``-n 4''
.El
.It Sy kerberos
Set to "YES" if the kerberos server,
.Xr kerberos 8 ,
is to be run. This
should only be run on the kerberos master server. Note that
the kerkeros server is only available with the domestic distribution
of
.Nx .
.It Sy portmap
Set to "NO" if the port mapper,
.Xr portmap 8 ,
is not run.
.It Sy amd
Set to "YES" if automounter,
.Xr amd 8 ,
is to be run. Additional variables available with
.Sy amd
enabled:
.Bl -tag -width amd_master
.It Sy amd_flags
The flags used for logging, etc, for
.Xr amd 8 .
Typically "-l syslog -x error,noinfo,nostats".
.It Sy amd_dir
The
.Xr amd 8
mount directory. Typically /amd.
.It Sy amd_master
The
.Xr amd 8
automounter master map.
.El
.El
.Pp
The
.Sy portmap
keyword must be "YES" if any of the
.Sy ypserv_flags ,
.Sy yppasswdd_flags ,
.Sy ypbind_flags ,
.Sy bootparamd_flags ,
.Sy nfs_server ,
.Sy nfs_client
keywords are not "NO", as they all depend on the portmapper.
.Pp
Only one of the
.Sy routed_flags
or
.Sy gated_flags
keywords should be set.
.Sh FILES
.Pa /etc/rc.conf
.Sh SEE ALSO
.Xr boot 8
.Sh BUGS
The
.Sy kerberos_server
variable is actually used by the default
.Pa /etc/rc.local
script, not the
.Pa /etc/rc
script.
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .

View File

@ -0,0 +1,111 @@
.\" $NetBSD: security.conf.5,v 1.1 1997/01/05 11:50:18 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt SECURITY.CONF 5
.Os NetBSD 1.3
.Sh NAME
.Nm security.conf
.Nd daily security check configuration file
.Sh DESCRIPTION
The
.Nm
file specifies which of the standard
.Pa /etc/security
services are performed. The
.Pa /etc/security
script is run, by default, every night from
.Pa /etc/daily ,
on a
.Nx
system, if configured do to so from
.Pa /etc/daily.conf .
.Pp
The variables described below can be set to "NO" to disable the test:
.Bl -tag -width check_network
.It Sy check_passwd
This checks the
.Pa /etc/master.passwd
file for inconsistancies.
.It Sy check_group
This checks the
.Pa /etc/group
file for inconsistancies.
.It Sy check_rootdotfiles
This checks the root users startup files for sane settings of $PATH
and umask. This test is not fail safe and any warning generated from
this should be checked for correctness.
.It Sy check_ftpusers
This checks that the correct users are in the
.Pa /etc/ftpusers
file.
.It Sy check_aliases
This checks for security problems in the
.Pa /etc/aliases
file.
.It Sy check_rhosts
This checks for system and user rhosts files with "+" in them.
.It Sy check_homes
This checks that home directories are owned by the correct user.
.It Sy check_varmail
This checks that the correct user owns mail in
.Pa /var/mail ,
and that the mail box has the right permissions.
.It Sy check_nfs
This checks that the
.Pa /etc/exports
file does not export filesystems to the world.
.It Sy check_devices
This checks for changes to devices and setuid files.
.It Sy check_mtree
This runs
.Xr mtree 8
to ensure that the system is installed correctly.
.It Sy check_changelist
This updates the list of files in
.Pa /etc/changelist
and their backups in
.Pa /var/backsups/file.current
and
.Pa /var/backsups/file.backup .
.El
.Pp
.Sh FILES
.Pa /etc/security
.Pa /etc/security.conf
.Sh SEE ALSO
.Xr daily.conf 5
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .

View File

@ -0,0 +1,71 @@
.\" $NetBSD: weekly.conf.5,v 1.1 1997/01/05 11:50:18 mrg Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Matthew R. Green for
.\" the NetBSD Project.
.\" 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.
.\"
.Dd December 30, 1996
.Dt WEEKLY.CONF 5
.Os NetBSD 1.3
.Sh NAME
.Nm weekly.conf
.Nd weekly maintenence configuration file
.Sh DESCRIPTION
The
.Nm
file specifies which of the standard
.Pa /etc/weekly
services are performed. The
.Pa /etc/weekly
script is run, by default, every saturday morning on a
.Nx
system.
.Pp
The variables described below can be set to "NO" to disable the test:
.Bl -tag -width check_network
.It Sy clean_uucp
This runs the weekly uucp clean script,
.Pa /usr/lib/uucp/clean.weekly .
.It Sy rebuild_locatedb
This rebuilds the locate database,
.Pa /var/db/locate.database ,
which must also exist, in order to be rebuilt.
.El
.Pp
.Sh FILES
.Pa /etc/weekly
.Pa /etc/weekly.conf
.Sh SEE ALSO
.Xr daily.conf 5
.Xr monthly.conf 5
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.3 .