Find the salt used in /etc/shadow, it's the characters between the second and third $, usually there will be eight.
Use mkpasswd -m sha512sha-512 -S <salt>, and enter the password you think it's suposed to be when it asks. It will output the hash with $6$<salt>$ prefixed.