Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Migrate users from SUSE Linux 11sp4 to Oracle Linux 7.6

jkinningerJan 25 2019 — edited Jan 29 2019

I am migrating our SUSE servers currently running SLES 11sp4 over to Oracle Linux. We are eliminating SUSE and running all Linux on Oracle Linux. I have a couple machines with a lot of local users. From what i was reading I could just copy the /etc/passwd, /etc/shadow, and /etc/group files over to the Oracle Linux. I have tried that but I am unable to login as them as the passwords do not appear to be read correctly. I ran a passwd <user> on one account using the same password and this allows me to login and things work. I reviewed the /etc/shadow file and the encryption line is much longer on Oracle Linux 7.6 than that of the original SLES 11sp4.

If the encryption is more secure on Oracle Linux is there a way I can revert back to the type running on SUSE and then increase it? Is there an easy way to supply a userlist and password list and update all the accounts? I am not that savvy with scripting. I have about 75-80 local users that I really am trying to avoid manually running the passwd command for each user. Google searches make this sound so simple. I am at a loss looking for some help on how I can proceed with migrating the users over. Good thing is all users belong to one group, sftp, as on this server they are used by external vendors to SFTP files in and out.

This post has been answered by Dude! on Jan 25 2019
Jump to Answer
Comments
Post Details
Added on Jan 25 2019
3 comments
318 views