replicating /etc/passwd on a failover machine

stas khromoy stas at edpausa.com
Fri Dec 22 13:42:16 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thanks for the help guys !

Jerry McAllister wrote:
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRYwRJNbpM15f9s9nAQI4fQP9FR2s+YClP9fWLN1uBHH/0gBr6zl2ai6S
tIMNCav8rfj+xZlWJiN723WBp5U9O3msv7edHD1jPUfkVblZOp096jI976nYfE1D
vVvaQ5qAtTk3zJ/SsgKkusOIG6J1WCmif+WY26VBEkHLLkIvUI3AeCPyygRtbdyv
Kg4YsT4IlJk=
=IlD/
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list