I'm currently setting up a 1:1 replication of a linux server. To simplify the process of updating users and groups I considered changing the uids and gids on the slave server to have them all like on the master server, so that if a new user is added on the master server I just have to copy passwd, groups etc. to the slave.
What I'm trying to do is to set up one slave server as a backup solution if the production server is offline for some reason. I wanted to synchronize only system users (everything inside /etc/passwd etc.) and no mail accounts or any other type of users.
Is it a good/common approach or should I better do it another way?