Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 1995 20:34:11 -0800 (PST)
From:      bmk@dtr.com
To:        ahill@netspace.net.au (Anthony Hill)
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD2.0.5 / BSDI 2 passwords
Message-ID:  <199511090434.UAA06992@dtr.com>
In-Reply-To: <Pine.SOL.3.91.951109143628.6820C-100000@tornado.netspace.net.au> from "Anthony Hill" at Nov 9, 95 02:48:02 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> What is the relationship between the passwords on BSDI and FreeBSD ? I 
> notice the encrypted passwords on BSDI seem to be much shorter than the 
> ones on FreeBSD.

FreeBSD uses MD5 passwords - I think that BSDI uses DES, which would
explain the difference.  (FreeBSD can also use DES if you install the
DES code out of the secure dist.

> The reason I ask is because I have written a perl script which creates 
> encrypted passwords suitable for importing directly into FreeBSDs 
> /etc/master.passwd file. (The script uses perls crypt function in a 
> manner similar to Wolfram Schneider's `adduser' script for FreeBSD).
> Would such a script produce BSDI compatable passwords if it was executed 
> on a BSDI machine ?

It should, since the perl crypt function is simply a call to whatever
crypt function happens to be on the machine in question.




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