Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2014 15:01:57 +0200
From:      Luciano Mannucci <luciano@vespaperitivo.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: Migrating users from Linux
In-Reply-To: <20140722163740.157c7156@gumby.homeunix.com>
References:  <20140722160329.24aff9e6@mordeus> <53CE75BE.30407@inti.gob.ar> <20140722163740.157c7156@gumby.homeunix.com>

| previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jul 2014 16:37:40 +0100
RW <rwmaillists@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@sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



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