This repository was archived by the owner on Feb 14, 2022. It is now read-only.
Commit 25cb197
Maximilian Hertstein
Update password generation in hardening-linux-server
The algorithm used to generate passwords was based on the date function
This function is a unreliable source for passsword-generation as the out-
put is predictable.
We have replaced the function with one that is based on /dev/urandom.
This leds to better and more secure passwords.1 parent 0f9649f commit 25cb197
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| |||
0 commit comments