linux:security:password:mkpasswd
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:security:password:mkpasswd [2021/11/09 21:49] – created chuck | linux:security:password:mkpasswd [2021/11/09 23:46] (current) – chuck | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| =====Description===== | =====Description===== | ||
| - | Encrypts a password using the crypt function using the given salt. | + | Useful for generating passwords for '' |
| ---- | ---- | ||
| =====Install===== | =====Install===== | ||
| - | * Install '' | + | * Install '' |
| sudo apt install whois | sudo apt install whois | ||
| </ | </ | ||
| Line 16: | Line 16: | ||
| =====Use===== | =====Use===== | ||
| + | * Encrypt a string as a SHA-512 password:< | ||
| + | mkpasswd --method=sha-512 | ||
| + | </ | ||
| + | * Encrypt a string as a yescrypt password:< | ||
| + | mkpasswd --method=yescrypt | ||
| + | </ | ||
| ---- | ---- | ||
| =====Links===== | =====Links===== | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| + | |||
| + | | ||
linux/security/password/mkpasswd.1636494582.txt.gz · Last modified: by chuck
