[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#134774: slapd: fails to install



On Thu, Feb 21, 2002 at 07:57:09PM +0100, Nils Rennebarth wrote:
> BTW: This is the script I use, are there comments available from security
> experts? Does anybody know a version that uses sh only and does not rely on
> perl?
...
> if (!open(R,"/dev/random")) {

I would generally say, don't use /dev/random unless you need _true_
randomness (and understand why).  Otherwise, you're only draining
entropy.

I would just use rand and srand (which uses /dev/urandom) in Perl.

Andrew



Reply to: