migrating users from one machine to another machine

Uwe Laverenz uwe at laverenz.de
Sat Oct 3 12:24:50 UTC 2009


Daniel Bye schrieb:

> Or copy /etc/passwd from the old machine to the new one, and run 
> pwd_mkdb, which is essentially what vipw does anyway.

This would not work, the file that contains the passwords and that 
should be copied is /etc/master.passwd. pwd_mkdb generates the 
/etc/passwd from this file. /etc/passwd dows not contain the encrypted 
passwords.

Uwe



More information about the freebsd-questions mailing list