Date: Thu, 19 Jun 2003 17:38:13 -0500 (CDT) From: Tim Legg <legg@iastate.edu> To: freebsd-questions@freebsd.org Subject: Passwords and MD5 Message-ID: <Pine.OSF.3.95.1030619173423.18159A-100000@isua1.iastate.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.1030619173423.18159A-100000>
