Migrating users from Linux
juan at inti.gob.ar
Tue Jul 22 15:49:45 UTC 2014
El 22/07/2014 12:37 p.m., RW escribió:
> On Tue, 22 Jul 2014 11:31:26 -0300
> Juan Bernhard wrote:
>> El 22/07/2014 11:03 a.m., Luciano Mannucci escribió:
>>> Still in the process of migrating all my Linux servers to FreeBSD,
>>> I'm now trying to move out a couple of thousands users created in a
>>> twenty years timespan from a linux server.
>>> Of course I need to keep uid and gid, though the juicy part is...
>>> the passwords! I have them only in encrypted form and in different
>>> algorythms (DES, Blowfish, ...) and the happily coexist. Con they
>>> be used as they are in Freebsd?
>>> Thanks a lot again,
>> I think that if you respect the fields order and values for
>> master.password, the hash will work fine.
>> See "man 5 master.password", and if you need to add another algorithm
>> see "man 3 crytp" to understand in witch algorithm you have hashed the
>> old passwords (for example, if the hash begins with $1$ is in MD5)
> I very much doubt that. FreeBSDs MD5 is a complicated iterative hash
> not just MD5. Even where Linux uses the same algorithm for a hash,
> there's no standard for the number of interations.
It work for centos 6.3 to freebsd 8.3 with MD5 hased passdorwd
($1$hash). I already did it and its in a production for one year
More information about the freebsd-questions