diff options
author | dougb <dougb@FreeBSD.org> | 2001-01-14 07:18:31 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2001-01-14 07:18:31 +0000 |
commit | 3bbfa62b632ebcb309e75f8212f4e3b53797cadf (patch) | |
tree | 9ecc11560468f3c002fda7f43b66439a52c6bb8a /etc/crontab | |
parent | 41bf790205da9df94e6c6fe700cefca81250363d (diff) | |
download | FreeBSD-src-3bbfa62b632ebcb309e75f8212f4e3b53797cadf.zip FreeBSD-src-3bbfa62b632ebcb309e75f8212f4e3b53797cadf.tar.gz |
Move the process of storing entropy from /dev/random and reseeding with
it at boot time closer to the way we want it to be in the final version.
* Move the default directory to /var/db/entropy
* Run the entropy saving cron job every 11 minutes. This seems
to be a better default, although still bikeshed material.
* Feed /dev/random some cheesy "entropy" from various commands
and files before the disks are mounted. This gives /dev/random
a better chance of running without blocking early.
* Move the reseeding with previously stored entropy to the point
immediately after the disks are mounted.
* Make the harvesting script a little safer in regards to the
possibility of accidentally overwriting something other
than a regular file.
Diffstat (limited to 'etc/crontab')
-rw-r--r-- | etc/crontab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/crontab b/etc/crontab index 1f0950e..56ef475 100644 --- a/etc/crontab +++ b/etc/crontab @@ -8,11 +8,11 @@ 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 # +# save some entropy so that /dev/random can reseed on boot +*/11 * * * * operator /usr/libexec/save-entropy +# # rotate log files every hour, if necessary 0 * * * * root newsyslog # |