LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   copy users to second PC (https://www.linuxquestions.org/questions/linux-software-2/copy-users-to-second-pc-142904/)

deweirdt 02-06-2004 05:02 AM

copy users to second PC
 
Hello,

I've installed a second PC with RH9 installed. Now I do not want to make all my users one-by-one again. Is there no replication tool that will do that for me.

homey 02-06-2004 06:41 AM

Copy these over....
/home/*
/etc/passwd
/etc/shadow
/etc/group


Also any samba stuff which may be important.

deweirdt 02-06-2004 07:09 AM

Is there a way that I can do this automatic. So if I add a user on a server that I then also change it automatc in the otherone.

Or do I need to make a script for that.

homey 02-06-2004 07:27 AM

I don't know of anything automatic right off hand.

future leet 02-06-2004 07:36 AM

Could you symlink the necessary files to a network resource, so that the two computers use the same stuff. I don't know if this is what you really want to do though, sounds about right.

You could write a script that, on startup, checks if the other computer has a newer version of a file, and if so replaces it's own file with that one.


All times are GMT -5. The time now is 06:14 PM.