Adding non-openssl method to generate a random password

This commit is contained in:
Xavier Stevens
2020-01-27 10:26:10 -08:00
committed by GitHub
parent 39b529621b
commit a3cf4b2efb
+6
View File
@@ -559,6 +559,12 @@ Good for quick passwords without human element.
$ openssl rand -base64 24
```
If `openssl` is not available then we can also use `head` to read from `/dev/urandom`.
```
$ head -c 32 < /dev/urandom | xxd -p -c 32
```
<a id="crltefs-anchor"></a>
**8.ii. Linux transportable encrypted filesystems**