[CentOS] How to enable SHA1 passwords after migration from OpenSUSE?

Papalagi Pakeha papalagi.pakeha at gmail.com
Thu Jun 26 12:05:11 UTC 2008

Hi there!

I have recently migrated my old server from OpenSUSE 10.0 to CentOS 5.
Almost everything works great, except for one thing - user passwords.
In the old system they were in a form:


and that format doesn't seem to be understood by CentOS. When I change
the password I get something like:


Note the encrypted password begins with $2a$... in OpenSUSE while in
CentOS it starts with $1$... CentOS passwords (MD5?) are understood by
OpenSUSE but OpenSUSE passwords (SHA1?) are not understood by CentOS.
Is there any way around that? Perhaps get some PAM module from
OpenSUSE? Or just some setting somewhere? Having to reset passwords
for all my users would be a royal pain.



More information about the CentOS mailing list