Solved

Transferring users.

Posted on 2003-11-26
3
283 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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 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…

728 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