bzcat
11-14-2006, 06:50 PM
On my local machines I use a daily cron job to rsync /etc/group, /etc/shadow, and /etc/passwd /home/ and the mail spool to sync accounts. I want to do the same to my VPS, but...
My VPS has some daemon users my local Slack boxes don't, or the UID's vary.
If I overwrite the VPS's shadow, group and passwd files, I'm almost certain it will bork and fall over. Any suggestions on how I can easily sync accounts? It only needs to be a one way sync, so I have a live backup of everything hosted at Gate.
My web user accounts verify from /etc/passd and /etc/shadow so I really need these accounts synced.
My VPS has some daemon users my local Slack boxes don't, or the UID's vary.
If I overwrite the VPS's shadow, group and passwd files, I'm almost certain it will bork and fall over. Any suggestions on how I can easily sync accounts? It only needs to be a one way sync, so I have a live backup of everything hosted at Gate.
My web user accounts verify from /etc/passd and /etc/shadow so I really need these accounts synced.