From rsimmons@mail.wlcg.com  Thu Aug 16 15:05:16 2001
Return-Path: <rsimmons@mail.wlcg.com>
Received: from mail.wlcg.com (mail.wlcg.com [198.92.199.5])
	by hub.freebsd.org (Postfix) with ESMTP id 949E437B40A
	for <freebsd-gnats-submit@freebsd.org>; Thu, 16 Aug 2001 15:05:15 -0700 (PDT)
	(envelope-from rsimmons@mail.wlcg.com)
Received: (from root@localhost)
	by mail.wlcg.com (8.11.5/8.11.5) id f7GM5EO32654
	for freebsd-gnats-submit@freebsd.org; Thu, 16 Aug 2001 18:05:14 -0400 (EDT)
	(envelope-from rsimmons)
Received: (from rsimmons@localhost)
	by mail.wlcg.com (8.11.5/8.11.5) id f7GM5DY32646;
	Thu, 16 Aug 2001 18:05:13 -0400 (EDT)
	(envelope-from rsimmons)
Message-Id: <200108162205.f7GM5DY32646@mail.wlcg.com>
Date: Thu, 16 Aug 2001 18:05:13 -0400 (EDT)
From: Rob Simmons <rsimmons@mail.wlcg.com>
Reply-To: Rob Simmons <rsimmons@mail.wlcg.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: cvs pserver will no longer use md5 hashes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         29787
>Category:       bin
>Synopsis:       cvs pserver will no longer use md5 hashes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 16 15:10:29 PDT 2001
>Closed-Date:    Thu Jan 17 19:02:51 PST 2002
>Last-Modified:  Thu Jan 17 19:03:58 PST 2002
>Originator:     Rob Simmons
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mail 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Thu Aug  9 19:00:48
EDT 2001 rsimmons@mail:/usr/obj/usr/src/sys/WASABI i386


	
>Description:
cvs pserver users' passwords are in md5 format.  After update to 4.4-PRERELEASE
users are not able to login.

When I reset the user's passwords into DES format they are able to login again.

cvs pserver used to be aware of md5 hashs due to crypt() now it is not.
>How-To-Repeat:
See above
>Fix:
Don't know
>Release-Note:
>Audit-Trail:

From: Peter Wemm <peter@wemm.org>
To: Rob Simmons <rsimmons@mail.wlcg.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/29787: cvs pserver will no longer use md5 hashes 
Date: Thu, 16 Aug 2001 19:39:27 -0700

 Rob Simmons wrote:
 
 > >Synopsis:       cvs pserver will no longer use md5 hashes
 
 > >Description:
 > cvs pserver users' passwords are in md5 format.  After update to 4.4-PRERELEA
     SE
 > users are not able to login.
 > 
 > When I reset the user's passwords into DES format they are able to login agai
     n.
 > 
 > cvs pserver used to be aware of md5 hashs due to crypt() now it is not.
 
 I just retested this here, it worked for me...
 
 peter@daintree[7:35pm]/home/src.cvs/sys-103> more CVS/Root
 :pserver:peter@malaise.yahoo.com:/home/ncvs
 
 root@malaise[7:34pm]/raid/FreeBSD/src_4/lib/libcrypt-58# ls -l /usr/lib/libcrypt.so.2
 -r--r--r--  1 root  wheel  28720 Aug 16 19:34 /usr/lib/libcrypt.so.2
 
 root@malaise[7:35pm]/raid/FreeBSD/src_4/lib/libcrypt-59# grep peter /etc/master.passwd 
 peter:$1$JQ2M/$eqaqX3GjxhnXXXXXsC3vG/:2154:100::0:0:Peter Wemm:/homes/peter:/usr/local/bin/tcsh
 
 peter@daintree[7:35pm]/home/src.cvs/sys-104> cvs -q up
 ? i386/conf/DAINTREE
 peter@daintree[7:36pm]/home/src.cvs/sys-105> 
 
 How did you upgrade?  Please do a:  ls -l /usr/lib/lib*crypt.so*
 and let us know what it looks like...
 
 Or, are you using passwords in the CVSROOT area instead of the system
 passwords?
 
 Cheers,
 -Peter
 --
 Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
 "All of this is for nothing if we don't go to the stars" - JMS/B5
 

From: Rob Simmons <rsimmons@wlcg.com>
To: Peter Wemm <peter@wemm.org>
Cc: <FreeBSD-gnats-submit@freebsd.org>
Subject: Re: bin/29787: cvs pserver will no longer use md5 hashes 
Date: Fri, 17 Aug 2001 10:55:41 -0400 (EDT)

 > How did you upgrade?  Please do a:  ls -l /usr/lib/lib*crypt.so*
 > and let us know what it looks like...
 
 lrwxr-xr-x  1 root  wheel     13 Aug 12 18:57 /usr/lib/libcrypt.so ->
 libcrypt.so.2
 -r--r--r--  1 root  wheel  28588 Aug 11 15:10 /usr/lib/libcrypt.so.2
 lrwxr-xr-x  1 root  wheel     16 Jun 12 14:35 /usr/lib/libdescrypt.so ->
 libdescrypt.so.2
 -r--r--r--  1 root  wheel  28480 Jun 12 14:35 /usr/lib/libdescrypt.so.2
 lrwxr-xr-x  1 root  wheel     14 Jun 12 14:35 /usr/lib/libscrypt.so ->
 libscrypt.so.2
 -r--r--r--  1 root  wheel  11596 Jun 12 14:35 /usr/lib/libscrypt.so.2
 
 >
 > Or, are you using passwords in the CVSROOT area instead of the system
 > passwords?
 
 I'm using passwords in the CVSROOT area.  I didn't want to create system
 accounts, but I guess I'm going to have to :(
 
State-Changed-From-To: open->closed 
State-Changed-By: ashp 
State-Changed-When: Thu Jan 17 19:02:51 PST 2002 
State-Changed-Why:  
Peter suggested workarounds for the problem.  This shouldn't be an issue for 
most users, and is not strictly speaking a bug. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29787 
>Unformatted:
