Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

734 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