?
Solved

Copy/Paste - user from a linux machine to another

Posted on 2009-04-05
2
Medium Priority
?
324 Views
Last Modified: 2013-12-15
Hi,

I have made an image of my linux set up and installed it on a new machine. It appears to have worked but the user I had made in the original linux setup did not copy of when I made the image. Can I zip the original user's folder and transfer it over to the new linux machine? - How?

Thanks,
waffe
0
Comment
Question by:waffe
[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 14

Accepted Solution

by:
Deepak Kosaraju earned 800 total points
ID: 24074243
S you can move all the user folder from server1:/home - server2:/home using scp.
then user usermod on server2 to change the user's home dir to /home/user1 etc


From Server1
#scp -r /home/* test@server2:/home/
On Server2
#usermod -d /home/user1 user1

Open in new window

0
 

Author Closing Comment

by:waffe
ID: 31566892
Fantastic!
0

Featured Post

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 17 hours left to enroll

770 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