From owner-freebsd-questions Thu Aug 10 17: 6:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from giroc.albury.net.au (giroc.albury.NET.AU [203.15.244.13]) by hub.freebsd.org (Postfix) with ESMTP id 9486B37B6EC for ; Thu, 10 Aug 2000 17:06:15 -0700 (PDT) (envelope-from nicks@giroc.albury.net.au) Received: (from nicks@localhost) by giroc.albury.net.au (8.9.3/8.9.3) id KAA49269; Fri, 11 Aug 2000 10:05:45 +1000 (EST) Date: Fri, 11 Aug 2000 10:05:45 +1000 From: Nick Slager To: Marek Florianczyk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: des and md5 question Message-ID: <20000811100545.A43204@albury.net.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from franki@mentat.oko.com.pl on Thu, Aug 10, 2000 at 11:22:47PM +0200 X-Homer: Whoohooooooo! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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