Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 16:37:40 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Migrating users from Linux
Message-ID:  <20140722163740.157c7156@gumby.homeunix.com>
In-Reply-To: <53CE75BE.30407@inti.gob.ar>
References:  <20140722160329.24aff9e6@mordeus> <53CE75BE.30407@inti.gob.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jul 2014 11:31:26 -0300
Juan Bernhard wrote:

>=20
> El 22/07/2014 11:03 a.m., Luciano Mannucci escribi=F3:
> >=20
> > 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?
> >=20
> > Thanks a lot again,
> >=20
> > luciano.
> >=20
>=20
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140722163740.157c7156>