Keeping /etc/passwds in sync
Nix
nix at esperi.org.uk
Thu Apr 16 23:59:45 CEST 2009
On 16 Apr 2009, Dan Ros verbalised:
> On Thu, Apr 16, 2009 at 4:22 PM, Longman <clug at gasops.co.uk> wrote:
>> What's the best way of keeping an /etc/passwd (and /etc/shadow, group
>> etc) in sync between systems which need to have the same accounts? The
>> systems will *not* be on the same network. One will be a private host
>> and one will be a public host (though may need to keep more than two
>> hosts in sync).
>
> NIS/LDAP/PAM-MySQL etc are great but might be a bit cumbersome to set up.
I tried to set up Hesiod a while back. There's native support in glibc
and everything, and the idea is lovely, but the way it breaks getpwent()
is really annoying. So I'm back to rsync for now.
More information about the CLUG
mailing list