From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 15:38:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1D3537B404 for ; Thu, 19 Jun 2003 15:38:15 -0700 (PDT) Received: from mailhub-4.iastate.edu (mailhub-4.iastate.edu [129.186.140.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 950BE43FCB for ; Thu, 19 Jun 2003 15:38:14 -0700 (PDT) (envelope-from legg@iastate.edu) Received: from mailout-2.iastate.edu (mailout-2.iastate.edu [129.186.140.2]) by mailhub-4.iastate.edu (8.9.3p2/8.9.3) with SMTP id RAA21360 for ; Thu, 19 Jun 2003 17:38:10 -0500 Received: from isua1.iastate.edu(129.186.1.201) by mailout-2.iastate.edu via csmap id 3662; Thu, 19 Jun 2003 17:38:11 -0500 (CDT) Received: from localhost (legg@localhost) by isua1.iastate.edu (8.8.8/8.8.5) with SMTP id RAA18169 for ; Thu, 19 Jun 2003 17:38:13 -0500 (CDT) Date: Thu, 19 Jun 2003 17:38:13 -0500 (CDT) From: Tim Legg To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Passwords and MD5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 22:38:16 -0000 Hello, I am running FreeBSD 5.1. In /etc/login.conf, I see my password_format is set to MD5. Now let's assume a temporary user I created. He logs in as 'nerdy' and his password is 'FreeBSD'. (without quotes of course) # $FreeBSD: src/etc/master.passwd,v 1.34 2003/04/27 05:45:29 imp Exp $ # nerdy:$1$1xYw.V8w$IozDgrd4srvZPPqu85cR..:1005:1006::0:0:Mr. Know-it-all:/home/nerdy:/bin/sh The $1$ means we are in fact using MD5. but when I run md5 in the command line, I get $ md5 -s FreeBSD MD5 ("FreeBSD") = a3dc630729e463135f4e608954fa6e19 which is considerably different. Why is that? Timothy D Legg legg@iastate.edu