Hello,
recently I got an idea to create a simple scripts which one of them would export users from AIX and the other script would import them to Linux(RHEL) to make migration of users faster.
Unfortunately I have run to an issue with migration of the hashed passwords. Both of the systems have different default hashing. For AIX we use sha256 and on the RHEL sha512. Is there some possible way to do such conversion so the hash would work on both systems or did someone already solved this issue in the past?
Thank you
ssh keys would be cross platform compatible.
another option would move most users to ldap authentication. You and they will be happier.
chpasswd has the -e so you could pass a sha256 hash. This would need testing but not much.
You could change the AIX passwords to use sha512 in advance.
See: /etc/security/pwdalg.cfg for more details.
/etc/security/pwdalg.cfg