From owner-freebsd-questions Wed Nov 8 20:36:46 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA13813 for questions-outgoing; Wed, 8 Nov 1995 20:36:46 -0800 Received: from dtr.com (dtr.rain.com [204.119.8.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA13796 for ; Wed, 8 Nov 1995 20:36:18 -0800 From: bmk@dtr.com Received: (from bmk@localhost) by dtr.com (8.6.11/8.6.9) id UAA06992; Wed, 8 Nov 1995 20:34:12 -0800 Message-Id: <199511090434.UAA06992@dtr.com> Subject: Re: FreeBSD2.0.5 / BSDI 2 passwords To: ahill@netspace.net.au (Anthony Hill) Date: Wed, 8 Nov 1995 20:34:11 -0800 (PST) Cc: questions@freebsd.org In-Reply-To: from "Anthony Hill" at Nov 9, 95 02:48:02 pm Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 855 Sender: owner-questions@freebsd.org Precedence: bulk > 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.