Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 10:05:45 +1000
From:      Nick Slager <nicks@albury.net.au>
To:        Marek Florianczyk <franki@mentat.oko.com.pl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: des and md5 question
Message-ID:  <20000811100545.A43204@albury.net.au>
In-Reply-To: <Pine.LNX.4.10.10008102316390.501-100000@mentat.oko.com.pl>; from franki@mentat.oko.com.pl on Thu, Aug 10, 2000 at 11:22:47PM %2B0200
References:  <Pine.LNX.4.10.10008102316390.501-100000@mentat.oko.com.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Marek Florianczyk (franki@mentat.oko.com.pl):

> How to check what method my server use for password coding. 

Have a look at the libcrypt* symlinks in /usr/lib. If they point to
libdescrypt*, you're using DES. If they point to libscrypt*, you're
using MD5.

This also means you can change what the symlinks point to in order to
change from DES to MD5, for example. I believe the DES wrapper libs can
also check MD5 passwords.

You can also tell by the format of the encrypted passwords. Passwords
beginning with '$1$' are MD5 encrypted.

> And if it is des, what is the length of key it uses.

Not sure on this one.


Nick.

-- 
 From a Sun Microsystems bug report (#4102680):
  "Workaround: don't pound on the mouse like a wild monkey."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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