From owner-freebsd-questions Sat Aug 15 22:06:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA01541 for freebsd-questions-outgoing; Sat, 15 Aug 1998 22:06:03 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA01519 for ; Sat, 15 Aug 1998 22:05:54 -0700 (PDT) (envelope-from dean@mushka.ml.org) Received: from mushka (mushka.ml.org [203.11.114.10]) by odyssey.apana.org.au (8.8.8/8.8.8) with SMTP id NAA25966; Sun, 16 Aug 1998 13:04:31 +0800 (WST) (envelope-from dean@mushka.ml.org) Message-Id: <3.0.3.32.19980816130146.03397c34@odyssey.apana.org.au> X-Sender: dean@odyssey.apana.org.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) Date: Sun, 16 Aug 1998 13:01:46 +0800 To: Jon Hamilton , nik@iii.co.uk From: Dean Hollister Subject: Re: HTML Password changer Cc: FreeBSD Questions In-Reply-To: <199806291510.XAA14047@odyssey.apana.org.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:11 29/06/98 -0500, Jon Hamilton wrote: >It's not quite that simple, although almost. You have to be sure to use >the same salt value, otherwise the unencrypted string could well be correct >and still encrypt to a different encrypted string. See the crypt(3) man page >for details about the salt value; you can use the first two characters of >the old encrypted password string as the salt for your new call to crypt. Hmmm, using Perl, how would I extract the original salt value? Regards, d. +-------------------------------------------------------+ | Dean Hollister, | dean@mushka.ml.org | | Perth, Western Australia. | 12840184 ICQ | +-------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message