mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Tagged random.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4177 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
2753b70be4
commit
5a1ffddc81
@ -6,33 +6,36 @@
|
||||
]>
|
||||
|
||||
<sect1 id="postlfs-config-random" xreflabel="Random number generation">
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
<?dbhtml filename="random.html"?>
|
||||
<title>Random number generation</title>
|
||||
<indexterm zone="postlfs-config-random">
|
||||
<primary sortas="f-random">random</primary></indexterm>
|
||||
<?dbhtml filename="random.html"?>
|
||||
|
||||
<para>The Linux kernel supplies a random number generator which is accessed
|
||||
through <filename class="devicefile">/dev/random</filename> and
|
||||
<filename class="devicefile">/dev/urandom</filename>. Programs that utilize
|
||||
the random and urandom devices, such as <application>OpenSSH</application>,
|
||||
will benefit from these instructions.</para>
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<para>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.</para>
|
||||
<title>Random Number Generation</title>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/random</filename>
|
||||
init script included with the
|
||||
<xref linkend="intro-important-bootscripts"/> package.</para>
|
||||
<indexterm zone="postlfs-config-random">
|
||||
<primary sortas="f-random">random</primary>
|
||||
</indexterm>
|
||||
|
||||
<screen><userinput><command>make install-random</command></userinput></screen>
|
||||
<para>The Linux kernel supplies a random number generator which is accessed
|
||||
through <filename class="devicefile">/dev/random</filename> and
|
||||
<filename class="devicefile">/dev/urandom</filename>. Programs that utilize
|
||||
the random and urandom devices, such as <application>OpenSSH</application>,
|
||||
will benefit from these instructions.</para>
|
||||
|
||||
<para>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.</para>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/random</filename> init script
|
||||
included with the <xref linkend="intro-important-bootscripts"/> package.</para>
|
||||
|
||||
<screen role="root"><userinput>make install-random</userinput></screen>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user