This is what we are doing here locally, but we use quite a different, and
much more secure method for synching the password files between the two
servers, as well as other useful files.
> one way around this would be to run nis or something that allows a shared
> password database, and put a line like this (we don't run nis here so i'm not
> 100% sure of the syntax.)
Well NIS is a major security bug and any high schooler would crack your
system open if you are using it (granted they know how to use IRC and
type "Can ewe d00ds give m3 the sk1ptz f0r NIS haxor1ng") SO I would
suggest another method, like rdist( hah just kidding, rdist is only
slightly more securre than NIS, which means it will take a high schooler
at least two months int he hacking scene to aquire the scriptz for rdist
exploitation ) or more likely your own custom deal to transfer the
files. We use a deamon we wrote ourself to synch the files across all
the machines.