Move accounts from one Linux server to another? Keep all the passwords?

I had to make a new server to replace the old. Now that it is up and what is the easiest way to move all the accounts/passwords etc so everything works as it did on the old server?

I can tar the files and move them, but will they automatically work with correct permissions? How do I move accounts and passwords?

I am using Centos 5.2 which is the clone of Red Hat Enterprise

Who is Participating?
fosiul01Connect With a Mentor Commented:
chck this one

how to migrate user accounts from one server to another
you need to copy the following files (better to tar them):


Also, you need to create the home directories.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.