<br><br><div class="gmail_quote">On Thu, Apr 16, 2009 at 10:59 PM, Nix <span dir="ltr"><<a href="mailto:nix@esperi.org.uk">nix@esperi.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 16 Apr 2009, Dan Ros verbalised:<br>
<div class="im"><br>
> On Thu, Apr 16, 2009 at 4:22 PM, Longman <<a href="mailto:clug@gasops.co.uk">clug@gasops.co.uk</a>> wrote:<br>
>> What's the best way of keeping an /etc/passwd (and /etc/shadow, group<br>
>> etc) in sync between systems which need to have the same accounts? The<br>
>> systems will *not* be on the same network. One will be a private host<br>
>> and one will be a public host (though may need to keep more than two<br>
>> hosts in sync).<br>
><br>
> NIS/LDAP/PAM-MySQL etc are great but might be a bit cumbersome to set up.<br>
<br>
</div>I tried to set up Hesiod a while back. There's native support in glibc<br>
and everything, and the idea is lovely, but the way it breaks getpwent()<br>
is really annoying. So I'm back to rsync for now.<br>
<div><div></div><div class="h5">_______________________________________________<br>
CLUG mailing list<br>
<a href="mailto:clug@cambridge-lug.org">clug@cambridge-lug.org</a><br>
Website: <a href="http://www.cambridge-lug.org" target="_blank">http://www.cambridge-lug.org</a><br>
</div></div></blockquote></div><br>Yeah I would of said a Autossh tunnel with a rsync cron job running periodically would do the job<br>