Solved

Transferring users.

Posted on 2003-11-26
3
282 Views
Last Modified: 2013-12-27
I am trying to transfer these 2 users from one machine to another.  I copy pasted 2 users from my old 'passwd' file to the new one.  Do I have to do anything special to transfer their password or permissions?

Thanks...
-Computurk
0
Comment
Question by:CompuTurk
[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
3 Comments
 
LVL 18

Accepted Solution

by:
liddler earned 50 total points
ID: 9825435
You also have to copy and paste the /etc/shadow entires for those users to get the passwords, and then make sure their home directories exist and are owned by them
i.e
mkdir /path/to/home/user1
chown -R user1:group /path/to/home/user1
0
 
LVL 3

Expert Comment

by:UkWizard
ID: 9854331
liddler is correct, but whats the point of , as its only for two users, you may as well just create them the same on the other server.

its quicker and easier.
0
 
LVL 2

Author Comment

by:CompuTurk
ID: 9858768
UkWizard, I would probably have to transfer their passwords also, so that is why I wanted to do it this way.  Thank you for you help guys.

-CompuTurk
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux : can't create transaction lock error 1 86
ipconfig not working on windows 10 bash shell; what other commands are missing. 17 555
Shell Script on AIX 7 146
awk sed 8 108
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

749 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