Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2006 12:16:04 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        stas khromoy <stas@edpausa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: replicating /etc/passwd on a failover machine
Message-ID:  <20061220121604.13fc768d.wmoran@collaborativefusion.com>
In-Reply-To: <458964AB.2080400@edpausa.com>
References:  <458964AB.2080400@edpausa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to stas khromoy <stas@edpausa.com>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> hey folks
> 
> we are working on building a failover server.
> now everything is going along pretty nicely. (knock on wood)
> 
> so the question of the day.
> is there a way to replicate the password files ?
> 
> i doubt that just copying over /etc/passwd and master.passwd will work .

Actually, it's not much harder than that.  The only step you're
missing is running pwd_mkdb on the files after they've been
copied, you can easily add that to your failover process.

Although, it may be worthwhile to investigate kerberos or LDAP if there's
any chance at all that this might grow into a larger desire to replicate
user accounts.

-- 
Bill Moran
Collaborative Fusion Inc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061220121604.13fc768d.wmoran>