mirror of
https://github.com/imthenachoman/How-To-Secure-A-Linux-Server.git
synced 2025-12-06 09:12:47 +01:00
Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -1208,6 +1208,7 @@ WIP
|
|||||||
- https://www.2uo.de/myths-about-urandom
|
- https://www.2uo.de/myths-about-urandom
|
||||||
- https://www.gnu.org/software/hurd/user/tlecarrour/rng-tools.html
|
- https://www.gnu.org/software/hurd/user/tlecarrour/rng-tools.html
|
||||||
- https://wiki.archlinux.org/index.php/Rng-tools
|
- https://wiki.archlinux.org/index.php/Rng-tools
|
||||||
|
- https://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny
|
||||||
|
|
||||||
#### Steps
|
#### Steps
|
||||||
|
|
||||||
@@ -1218,7 +1219,18 @@ WIP
|
|||||||
``` bash
|
``` bash
|
||||||
sudo apt-get install rng-tools
|
sudo apt-get install rng-tools
|
||||||
```
|
```
|
||||||
To Lazy: sed -i 's/#HRNGDEVICE='/'dev'/'null'/'HRNGDEVICE='/'dev'/'urandom/' /etc/default/rng-tools
|
|
||||||
|
1. Now we need to set the hardware device used to generate random numbers by adding this to `/etc/default/rng-tools`:
|
||||||
|
|
||||||
|
```
|
||||||
|
HRNGDEVICE=/dev/urandom
|
||||||
|
```
|
||||||
|
|
||||||
|
[For the lazy](#editing-configuration-files---for-the-lazy):
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
echo "HRNGDEVICE=/dev/urandom" | sudo tee -a /etc/default/rng-tools
|
||||||
|
```
|
||||||
|
|
||||||
([Table of Contents](#table-of-contents))
|
([Table of Contents](#table-of-contents))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user