From owner-freebsd-questions Fri Jun 12 15:40:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03547 for freebsd-questions-outgoing; Fri, 12 Jun 1998 15:40:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from colossus.dyn.ml.org (dburr@206-18-112-209.la.inreach.net [206.18.112.209]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03355 for ; Fri, 12 Jun 1998 15:39:57 -0700 (PDT) (envelope-from dburr@colossus.dyn.ml.org) Received: (from dburr@localhost) by colossus.dyn.ml.org (8.8.8/8.8.7) id PAA02041; Fri, 12 Jun 1998 15:37:49 -0700 (PDT) (envelope-from dburr) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 12 Jun 1998 15:37:49 -0700 (PDT) Organization: Computer Help From: Donald Burr To: Jim Van Baalen Subject: RE: Change to the crypt routine Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My secret spy satellite informs me that on 12-Jun-98, Jim Van Baalen wrote: > I am having problems on a machine I just upgraded to 2.2.6. The format > of the encrypted string used by encrypt has changed from the old 13 > character string to a string that has a format like > > $1$xNckYhM0$PGnuha4ufLJ1y.WSCvvrA. > > I had seen this before and fixed all the entries in the password file, > but this has broken access control for our websites. The htaccess > associated > password strings are unchanged and do not work. I don't know the > plain text passwords and it would be pretty impossible to compile them. > Is > there a conversion routine or a way to be backwards compatable with the > old > encrytion format? It looks like you were using DES passwords in the previous version, but your install somehow switched to the MD5 crypt routines. YOu'll want to check the link in /usr/lib/libcrypt.so.* and make sure they point to libdescrypt.so.*. On my 2.2.6-RELEASE system, this is what it looks liek: lrwxrwxrwx 1 root bin 13 May 24 09:36 libcrypt.a -> libdescrypt.a lrwxrwxrwx 1 root bin 18 May 24 09:36 libcrypt.so.2.0 -> libdescrypt.so.2.0 lrwxrwxrwx 1 root bin 15 May 24 09:36 libcrypt_p.a -> libdescrypt_p.a -r--r--r-- 1 bin bin 10770 Mar 24 17:50 libdescrypt.a -r--r--r-- 1 bin bin 16698 May 23 11:14 libdescrypt.so.2.0 -r--r--r-- 1 bin bin 12426 Mar 24 17:50 libdescrypt_p.a -r--r--r-- 1 bin bin 4616 Mar 24 17:50 libscrypt.a -r--r--r-- 1 bin bin 12579 Mar 24 17:50 libscrypt.so.2.0 -r--r--r-- 1 bin bin 5104 Mar 24 17:50 libscrypt_p.a --- Donald Burr - Ask me for my PGP key | PGP: Your WWW HomePage: http://DonaldBurr.base.org/ ICQ #1347455 | right to Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | 'Net privacy. Phone: (805) 957-9666 FAX: (800) 492-5954 | USE IT. ----------------------------------------------------------------------- FreeBSD - Turning PCs into Workstations - http://www.freebsd.org/ (NOTE: POBoxes.com appears to be working again -- fire away!) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message