From 3bbfa62b632ebcb309e75f8212f4e3b53797cadf Mon Sep 17 00:00:00 2001 From: dougb Date: Sun, 14 Jan 2001 07:18:31 +0000 Subject: 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. --- etc/crontab | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/crontab') 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 # -- cgit v1.1