Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 1998 15:37:49 -0700 (PDT)
From:      Donald Burr <dburr@POBoxes.com>
To:        Jim Van Baalen <vansax@mail.websidestory.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Change to the crypt routine
Message-ID:  <XFMail.980612153749.dburr@POBoxes.com>
In-Reply-To: <Pine.BSI.3.96.980612102803.15976A-100000@mail.websidestory.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dburr@POBoxes.com> - 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



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