Migrating users to a new server

I've got a server that I need to replace.  To do this, I need to somehow export all of my users from the old server and import them onto the new server.  Is there any tool that will allow me to do this?  I don't want to have to re-enter all 100 users by hand, and I have no clue what their passwords are.
whopgoodAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

febbCommented:
To migrate all users from the old server to a new one, you would have to copy the files: /etc/passwd, /etc/group and /etc/shadow to the new system. This will create exactly the same accounts you had on the old one.

You only ask for migrating user accounts but say nohing about user data, anyway here is a comment on that:

Copy all user's directories to the new system as well, lets say home directories are under "/home/*" copy all that directory tree to the new system as well.

Remember to re-install the applications you had on the old system. I would recommend to keep the exact same filesystems and directory tree layout as to try to not breaking any shell scripts or programs that may look for something that changed its place.

Keep an eye on any symbolic links that may be lost or point to nowhere.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
whopgoodAuthor Commented:
OK, this is what I thought I'd have to do, but didn't know if there was more of an automated tool that did this.  Yeah, I'll be copying over all of the user's home directories as well -- hadn't forgotten about that! :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.