mkpasswd -s -m SHA-512 <<< mypassword
The type of password algorithm is stored in /etc/pam.d/passwd.
/etc/pam.d/passwd
Security/Features - Ubuntu Wiki https://wiki.ubuntu.com/Security/Features
#security #passwords #secops #devops #linux