How to copy LINUX user information

  
                  

LINUX User Replication basically migrates these files: < /> /etc/passwd 2. /etc/shadow 3. /etc/group 4. /etc/samba/smbpasswd

Then use the tar in the /home directory to get a big package and then get the target host to unlock:

1. Copy 3 files: /etc/passwd, /etc /group, /etc/shadow 2. Create a home directory for each user 3. Copy the .bashrc .bash_profile
in the user's home directory.

Copyright © Windows knowledge All Rights Reserved