mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
27a803d631
it can be used to reseed at boot time. This will greatly increase the chances that there will be sufficient entropy available at boot time to prevent long delays. For /etc/rc, remove the vmstat and iostat runs from the attempt to provide some cheesy randomness if the files fail, since those programs are dynamically linked, and ldd seems to want some randomness to do its magic. Guidance and parameters for this project were provided by Mark Murray, based on the requirements of the Yarrow algorithm. Some helpful suggestions for implementation (including the tip about iostat and vmstat) were provided by Sheldon Hearn. All blame for problems or mistakes is mine of course.
28 lines
685 B
Plaintext
28 lines
685 B
Plaintext
# /etc/crontab - root's crontab for FreeBSD
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
SHELL=/bin/sh
|
|
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
|
|
HOME=/var/log
|
|
#
|
|
#minute hour mday month wday who command
|
|
#
|
|
# save some entropy so that /dev/random can reseed on boot
|
|
*/3 * * * * operator /usr/libexec/save-entropy
|
|
#
|
|
*/5 * * * * root /usr/libexec/atrun
|
|
#
|
|
# rotate log files every hour, if necessary
|
|
0 * * * * root newsyslog
|
|
#
|
|
# do daily/weekly/monthly maintenance
|
|
1 3 * * * root periodic daily
|
|
15 4 * * 6 root periodic weekly
|
|
30 5 1 * * root periodic monthly
|
|
#
|
|
# time zone change adjustment for wall cmos clock,
|
|
# does nothing, if you have UTC cmos clock.
|
|
# See adjkerntz(8) for details.
|
|
1,31 0-5 * * * root adjkerntz -a
|