To add to the previous poster here is the syntax of your password in /etc/shadow:
$id$salt$encrypted
Where ID is the algorithm used:
0-DES, 1->MD5, 2a->Blowfish, 5->SHA-256, 6->SHA512
Below is en example of what you can find in my /etc/shadow (some what modifyed
)
Code:
user:$6$OdDz6Xyt$e9BuC95Ov5ZOl1B1zeNIQdGffDOdupVgZFjpmRVf9d9G5k6IuNSDEKksgQOQ1LiCY9TxzvaT0kkNb4Fp/rWD11:14881:0:99999:7:::