AIX

 View Only

 User migration between AIX and Linux

Marek Pniok's profile image
Marek Pniok posted Tue November 26, 2024 08:10 AM

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

Alexander Pettitt's profile image
Alexander Pettitt

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.

Owen Edwards's profile image
Owen Edwards

You could change the AIX passwords to use sha512 in advance.

See: /etc/security/pwdalg.cfg  for more details.