LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Moving users from a 9.1 install to another 9.1 install (https://www.linuxquestions.org/questions/slackware-14/moving-users-from-a-9-1-install-to-another-9-1-install-220430/)

CrawZ 08-21-2004 01:22 AM

Moving users from a 9.1 install to another 9.1 install
 
G'day all.

Some load distribution between services is required on my servers.

I am unable to find up-to-date information on how to move users from one server, to another.

Both servers are running Slackware 9.1, and the passwords are shadowed.

A point in the right direction would be most useful.

Thanks,

Chris.

Cedrik 08-21-2004 01:34 AM

For my part, I would do :

# archive the users directories, with users permissions retained
# I would use one archive.tar.gz per user directory
tar czvf username.tar.gz /home/username

# then untar archives to new location
cd /new/location
tar xzvf username.tar.gz

After that, two possibilities :
1. copy /etc/group /etc/passwd /etc/shadow
2. or redo useradd, passwd by hand for each user (with paying attention to give them the original uid and gid)


All times are GMT -5. The time now is 12:03 AM.