Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

776 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