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
Solved

Transferring users.

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.

790 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