Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2006 13:46:02 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        stas khromoy <stas@edpausa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: replicating /etc/passwd on a failover machine
Message-ID:  <20061220184602.GB30425@gizmo.acns.msu.edu>
In-Reply-To: <458964AB.2080400@edpausa.com>
References:  <458964AB.2080400@edpausa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 20, 2006 at 11:28:27AM -0500, stas khromoy wrote:

> -----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 .

Almost.   You just need to make sure database stuff is updated properly.
Check out pwd_mkdb(8) and vipw(8) and man master.passwd and man passwd.

////jerry

> 
> thanks



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