Random Number Generation

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 3. After LFS Configuration Issues

- Prev

  Customizing your Logon with /etc/issue

- Next

  lsb_release-1.4

- Up
- Home

# Random Number Generation

The Linux kernel supplies a random number generator which is accessed through `/dev/random` and `/dev/urandom`. Programs that utilize the random and urandom devices, such as OpenSSH, will benefit from these instructions.

When a Linux system starts up without much operator interaction, the entropy pool (data used to compute a random number) may be in a fairly predictable state. This creates the real possibility that the number generated at startup may always be the same. In order to counteract this effect, you should carry the entropy pool information across your shut-downs and start-ups.

Install the `/etc/rc.d/init.d/random` init script included with the blfs-bootscripts-20180105 package.

    make install-random

Last updated on 2016-06-03 22:04:06 -0500

- Prev

  Customizing your Logon with /etc/issue

- Next

  lsb_release-1.4

- Up
- Home