From owner-freebsd-questions Wed Oct 25 6:42: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stella.pyramus.com (stella.pyramus.com [206.129.206.3]) by hub.freebsd.org (Postfix) with ESMTP id B2EDF37B479 for ; Wed, 25 Oct 2000 06:42:00 -0700 (PDT) Received: from pyramus.com (dark-star.pyramus.com [206.129.206.6]) by stella.pyramus.com (8.9.3/8.9.3) with ESMTP id GAA68878 for ; Wed, 25 Oct 2000 06:43:17 -0700 (PDT) (envelope-from blake@pyramus.com) Message-ID: <39F6E38E.153455A1@pyramus.com> Date: Wed, 25 Oct 2000 06:43:42 -0700 From: Blake Swensen X-Mailer: Mozilla 4.74 [en]C-DIAL (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD List Subject: Perl crypt(), htpasswd, and 4.1-RELEASE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This really is a FreeBSD question. Have written a script which uses the perl crypt() command to create/change passwords as a replacement for htpasswd. This worked perfectly on 2.1.6-RELEASE, and now that I have upgraded to 4.1-RELEASE the encryption scheme seems to be different and all of my .htaccess passwords are broken. Can anyone shed some light on what might be happening here? ... htpasswd will correctly encrypt the password, but perl crypt() will not. Just FYI, I am using exactly the same version of httpd & htpasswd that was running on the old 2.1.6 system, restored from backup. Peace, Blake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message