Date: Wed, 20 Dec 2006 08:16:52 -0900 From: Beech Rintoul <freebsd@alaskaparadise.com> To: freebsd-questions@freebsd.org Cc: stas khromoy <stas@edpausa.com> Subject: Re: replicating /etc/passwd on a failover machine Message-ID: <200612200817.09411.freebsd@alaskaparadise.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
--nextPart2268170.IK1mpEHezY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 20 December 2006 07:28, stas khromoy wrote: > 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 . It will work fine as long as you run pwd_mkdb after copying or changing any= of=20 the files. Also, you can use vipw to edit the list. It runs pwd_mkdb after= =20 you write and exit. See the relevant man pages for more info. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart2268170.IK1mpEHezY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFiXAVR5sEeCt9j00RAsN+AJ9qWdE3MdoVMXnX3Ea3uQu/a9JBGQCcDOBt uc+GCvvNPnlVGyyiBwi11Oo= =Llk+ -----END PGP SIGNATURE----- --nextPart2268170.IK1mpEHezY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612200817.09411.freebsd>