Subject: Re: md5-encrypted password file with NetBSD?
To: Rik van Mierlo <rik@ricardis.tudelft.nl>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-alpha
Date: 03/28/2000 15:12:44
> I need to be able to paste md5-encrypted passwords into the
> master.passwd file of my NetBSD machine.  Is this possible?

Out of the box, I believe the answer is "no".  (Or more precisely, you
can, sure, but the resulting passwd entries won't work.)

However, it would probably be a relatively trivial matter to yank the
MD5-based password hashing code out of FreeBSD and drop it in.  I did
an MD5-based password hash for NetBSD and it was pretty easy.  (Since I
didn't write it to be compatible with the FreeBSD one[%], only by about
the wildest fluke imaginable could it be - so I don't offer it as a
solution to your problem.)

If you want my code as an example of how to add a new password hash
algorithm, I'll be happy to send you a copy.

[%] Why not?  Probably because at the time I did it I didn't know
    FreeBSD had any such thing - and indeed they might not have; I
    haven't checked history.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B