passwd

From Noah.org
Jump to: navigation, search


Hash a password and salt to test against the value stored in /etc/shadow.

echo "MyBadPassword" | mkpasswd --method=SHA-512 --salt=y1mNfEEq --stdin