replicating /etc/passwd on a failover machine

Beech Rintoul freebsd at alaskaparadise.com
Wed Dec 20 09:17:25 PST 2006


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 
the files. Also, you can use vipw to edit the list. It runs pwd_mkdb after 
you write and exit. See the relevant man pages for more info.

Beech

-- 
---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech at 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
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061220/5e3fe85d/attachment.pgp


More information about the freebsd-questions mailing list