Moving master.passwd file between servers... is this correct?

Dan Nelson dnelson at allantgroup.com
Thu Mar 11 05:41:13 UTC 2010


In the last episode (Mar 10), Modulok said:
> I need to migrate a passwd file from an old 6.2 server to a newer 8.0
> server (different box).  This is what I did:
> 
> copied the  '/etc/master.passwd' from old server to '/etc/master.passwd'
> on new server then ran:
> 
> pwd_mkdb /etc/master.passwd && pwd_mkdb -p /etc/master.passwd
> 
> It seems to work, but is this correct? I'd hate to miss somethign before
> it goes online.

Yep, that should work.  Don't forget to update /etc/groups too.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list