File: cronrc

package info (click to toggle)
tiger 2.2.4-22
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,188 kB
  • ctags: 240
  • sloc: sh: 8,388; ansic: 2,109; makefile: 141; perl: 106
file content (60 lines) | stat: -rw-r--r-- 2,008 bytes parent folder | download
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
#
# Debian default 'tigercron' cronrc file...
#
# You can run the different checks in stages, without having to
# clutter up the crontab for root. You can do all the checks in one
# step or (like this file does) separate all the checks in different
# stages.
#
#------------------------------------------------------------------------
#
# Field 1:  Comma separated list of hours (0-23) or '*' when this should
#           be run.
#
# Field 2:  Comma separated list of days of month or '*' when this should
#           be run.
#
# Field 3:  Comma separated list of days of week or '*' when this should
#           be run.  Days of week must be exactly as 'date' prints.
#
# Remaining fields:  Scripts to execute (no newlines or \ allowed)
#
# ----------------------------------------------------------------------
#
# The following are the default settings for Debian if you do not want
# to separate checks change this as needed (and suited to your security
# policy). 
# 
# ----------------------------------------------------------------------
# Check for known intrusion signs every 8 hours
#
0,8,16 * *	check_known
#
# Check for Debian security measures every day at 1 am
#
1 * *	deb_checkmd5sums deb_nopackfiles deb_checkadvisories
#
# Get a list of listening processes every day at different hours
#
0,4,6,10,14,18,20 * *		check_listeningprocs
#
# Check for usual account information every day at 2 am.
#
2 * *		check_accounts check_rhosts check_netrc check_group check_passwd
#
# Check for file permissions every day at 5 am
#
5 * *		check_perms check_group check_passwd
#
# Check for network configuration every Monday
#
3 * Mon		check_inetd check_exports check_aliases check_path check_cron check_anonftp check_printcap
#
# Check for strange file ownerships once a month
#
2 1 *         find_files 
#
# Run a password cracker against the local passwords once a month
# This is removed since a) it does not work and b) the functionality is
# provided by the 'john' package
#2 2 *           crack_run