2002-01-28 15:29:38 +03:00
|
|
|
.\" $NetBSD: daily.conf.5,v 1.12 2002/01/28 12:29:38 wiz Exp $
|
1997-01-05 14:50:12 +03:00
|
|
|
.\"
|
|
|
|
.\" 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.
|
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.
|
|
|
|
.\"
|
|
|
|
.Dd December 30, 1996
|
|
|
|
.Dt DAILY.CONF 5
|
1999-03-17 23:19:44 +03:00
|
|
|
.Os
|
1997-01-05 14:50:12 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm daily.conf
|
1997-01-07 10:31:32 +03:00
|
|
|
.Nd daily maintenance configuration file
|
1997-01-05 14:50:12 +03:00
|
|
|
.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
|
2000-11-17 13:14:16 +03:00
|
|
|
with the
|
|
|
|
.Fl c
|
|
|
|
argument.
|
1997-01-05 14:50:12 +03:00
|
|
|
.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
|
2000-11-17 13:14:16 +03:00
|
|
|
with the
|
|
|
|
.Fl a
|
|
|
|
argument.
|
1997-01-05 14:50:12 +03:00
|
|
|
.It Sy check_uucp
|
|
|
|
This runs the
|
|
|
|
.Pa /etc/uuclean.daily
|
|
|
|
script, as the daemon user, and runs
|
|
|
|
.Xr uustat 1
|
2000-11-17 13:14:16 +03:00
|
|
|
with the
|
|
|
|
.Fl a
|
|
|
|
argument.
|
1997-01-05 14:50:12 +03:00
|
|
|
.It Sy check_disks
|
|
|
|
This uses the
|
|
|
|
.Xr df 1
|
|
|
|
and
|
|
|
|
.Xr dump 8
|
2002-01-28 15:29:38 +03:00
|
|
|
to give disk status, and also reports failed
|
|
|
|
.Xr raid 4
|
2002-01-28 12:02:51 +03:00
|
|
|
components.
|
1997-01-05 14:50:12 +03:00
|
|
|
.It Sy check_mailq
|
|
|
|
This runs
|
|
|
|
.Xr mailq 1 .
|
|
|
|
.It Sy check_network
|
|
|
|
This runs
|
|
|
|
.Xr netstat 1
|
2000-11-17 13:14:16 +03:00
|
|
|
with the
|
|
|
|
.Fl i
|
|
|
|
argument, and also checks the
|
1997-01-05 14:50:12 +03:00
|
|
|
.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
|
2000-11-17 13:14:16 +03:00
|
|
|
with the
|
|
|
|
.Fl n
|
|
|
|
option.
|
1997-01-05 14:50:12 +03:00
|
|
|
.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.
|
2000-08-25 05:11:42 +04:00
|
|
|
.It Sy run_skeyaudit
|
2001-03-15 05:23:47 +03:00
|
|
|
Runs the
|
2001-04-04 15:12:28 +04:00
|
|
|
.Xr skeyaudit 1
|
2001-03-15 05:23:47 +03:00
|
|
|
program to check the S/Key database and informs users of S/Keys that
|
|
|
|
are about to expire.
|
1997-01-05 14:50:12 +03:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
2000-01-10 20:03:49 +03:00
|
|
|
.Bl -tag -width /etc/daily.local -compact
|
|
|
|
.It Pa /etc/daily
|
|
|
|
daily maintenance script
|
|
|
|
.It Pa /etc/daily.conf
|
|
|
|
daily maintenance configuration
|
|
|
|
.It Pa /etc/daily.local
|
|
|
|
local site additions to
|
1997-01-05 14:50:12 +03:00
|
|
|
.Pa /etc/daily
|
2000-01-10 20:03:49 +03:00
|
|
|
.El
|
1997-01-05 14:50:12 +03:00
|
|
|
.Sh SEE ALSO
|
1997-01-07 10:31:32 +03:00
|
|
|
.Xr monthly.conf 5 ,
|
2001-09-11 05:01:56 +04:00
|
|
|
.Xr security.conf 5 ,
|
|
|
|
.Xr weekly.conf 5
|
1997-01-05 14:50:12 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
file appeared in
|
|
|
|
.Nx 1.3 .
|