Solved

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

Posted on 2008-10-27
2
341 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
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now