Solved

Copy/Paste - user from a linux machine to another

Posted on 2009-04-05
2
323 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 200 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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é.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

705 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