How to migrate user accounts to a new server


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to migrate user accounts to a new server
# 1  
Old 06-26-2005
How to migrate user accounts to a new server

Hello All,
I am a student sys admin and not a professional. I'd like to know how can I migrate the user accounts in the current server to a new server( to be installed) non-destructively. Also in what way the old server can be used after installation of the new server. I'd sincerely appreciate any helpful ideas and thanks in advance . Smilie

Maybemedic.
# 2  
Old 06-26-2005
You didn't mention what flavor of UNIX you are working with so I will tell you how to do it in AIX.

if you're moving to a brand new system with no users created yet you can simply move the following files to the new box from the old box (please create backup files at the destination before the copy):

/etc/passwd
/etc/group
/etc/security/passwd
/etc/security/group

Then backup their home directories and restore them at the new box.
Using SSH it can be this easy:

Code:
tar cvf - /home/user1 | ssh newserver " ( cd /home/user1 ; tar xvf - ) "

Also don't forget their cronjobs. These are located in /var/spool/cron/crontabs on AIX.

They may be fond of their email too so look for it in /var/spool/mail.

Good luck.
# 3  
Old 06-26-2005
Thank you so much Dogday, Im sorry to trouble you again. The flav of Unix Im using is Linux (Redhat 7.1.2.96-98 to be specific). Anyway we are planning to use Suse 9.0 enterprise edition on the new server. I greatly appreciate your help and thank you for the help ur gonna do. Smilie) . Have fun.

Maybemedic.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Help with user accounts

Hi All, How to know all the shells a user has access. Thank you . (0 Replies)
Discussion started by: rama krishna
0 Replies

2. Red Hat

User account migrate from solaris to linux

Hi, I have to move user account from solaris to Linux environment because I don't want user to create password again in Linux environment, so could somebody confirm me how to do it, I know there are files /etc/groups, /etc/passwd and /etc/shadows need to copy but somebody confirm me what is the... (2 Replies)
Discussion started by: mnaumanca
2 Replies

3. UNIX for Dummies Questions & Answers

migrate samba pdc from one server to another

Hi there, Hope this forum is adapted to my question. I have : + 1 Debian server with Samba set to authenticate users in the domain HOME (workgroup = HOME / domain logons = yes). + 3 Windows XP Laptops configured to belong to the domain HOME. So on startup, I'm invited to enter a login password... (2 Replies)
Discussion started by: chebarbudo
2 Replies

4. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

5. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

6. AIX

migrate user ID and password

Can anyone advice on how to migrate user information - groups, names, passwords from one server to another? I am building a duplicate server to replace an old one and I need to move user information off the old server, help! (5 Replies)
Discussion started by: nabob1
5 Replies

7. UNIX for Dummies Questions & Answers

User Accounts

Hi, I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies

8. Shell Programming and Scripting

User Accounts

I have found a script to create user accounts. But there are a few lines i dont understand. Can someone help me with this? Here's the code: ###################################### while ; do ACCT=${USER_ACCT}${START} START=`expr $START + 1` START=`echo ${START} | awk... (3 Replies)
Discussion started by: Sensor
3 Replies
Login or Register to Ask a Question