I'm the process of migrating an NIS server from one machine running Ubuntu 9.10 to a new one running Ubuntu 14.04.4 Server, and following these instructions:
How do I replace an NIS master server?
The plan is to run the NIS makefile on the new machine, set up one test NIS client for that machine's domain to make sure the "map" gets pushed out correctly, and if it works without issues, to go ahead and add the remaining clients' IP addresses.
In step 3 of that guide, it says to copy over all of the passwords, groups, shadow files from the old server to the new one. I will try to do this with an SCP -P
command, where the local will be the 14.04.4 machine and the remote will be the old machine. I've noticed in the 14.04.4 machine that in /etc/
there already exists passwords, groups, and shadow files. I have not added any users to the 14.04.4 machine. Should I be concerned about overwriting any of these files, and will SCP allow me to overwrite the files?
I'm not an expert in NIS and have never attempted anything like this before so any advice is greatly appreciated. I cannot switch to RHEL or any other *nix OS as this is in a university lab environment so choice of OS is not my call.