Solved

Transferring users.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 375
UNiX Script filesystem space usage 19 67
Solaris 10.  Nmap installation fails 2 49
retrieve nuemaric value from txt file in shell script 3 61
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 …
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now