[CentOS] 6.2 and login.defs

John Doe jdmls at yahoo.com
Thu Dec 22 11:54:25 UTC 2011


From: Reindl Harald <h.reindl at thelounge.net>

>>  are they automatically "converted" (rehashed) to SHA512?
> this is technically impossible on any system and in any context
> the definition of a hash is NOT INVERTABLE and you would need
> the plaintext-version to generate another hash type

By rehashed I meant 2 layers of hashing...
You sha512 the old md5 hash while keeping the knowledge that it was an md5 hash.
So, when the user enters its passwd, it would be md5 hashed and then sha512 hashed and compared...

JD



More information about the CentOS mailing list