Linux user and password copy between servers with cron script [duplicate]
Hi and welcome to ServerFault.
The "shot from the hip" solution I can come up with is: Manage those files remotely.
Whether you use sssd/NIS, a configuration management solution (puppet/ansible/salt/chef/whatever), it doesn't matter much.
The way it's done now is likely to introduce inconsistencies and cause annoying problems to debug, especially if you introduce more boxes into the mix.
Have an external (to the controlled boxes), single source of truth and let it control this information.
The problem is quite a common one, have a look at the other questions as well.