Migrating users from Linux

Luciano Mannucci luciano at vespaperitivo.it
Wed Jul 23 13:02:10 UTC 2014


On Tue, 22 Jul 2014 16:37:40 +0100
RW <rwmaillists at googlemail.com> wrote:

> > 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.
Well, actually I have to say that no, MD5 works "as is" if taken from
a linux shadow password file, while blowfish doesn't (at least the "y"
version).

I have'nt tested DES yet.

Cheers,

Luciano.
-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/


More information about the freebsd-questions mailing list