Solved

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

Posted on 2008-10-27
2
348 Views
Last Modified: 2013-12-16
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

0
Comment
Question by:toben88
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 22813156
chck this one

how to migrate user accounts from one server to another

http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 22813767
you need to copy the following files (better to tar them):

/etc/passwd
/etc/shadow
/etc/group

Also, you need to create the home directories.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question