What password hash algorithm does each version of CentOS use by default?

Matt McClure asked:

I’m looking for a table of CentOS versions and corresponding default password hash algorithms. Google searches didn’t reveal any matches that look like they have all the information in one place.

Ubuntu publishes a table like the one I’m looking for on their wiki.

My answer:

EL5 and previous versions used MD5 password hashing. EL6 changed to SHA512 password hashing by default. You could put that in a table, but it would be a very small table…

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.