Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-27
2
Medium Priority
?
351 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

963 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