From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 15:27:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 298DE16A4CE for ; Sat, 22 Nov 2003 15:27:53 -0800 (PST) Received: from smtp01.wxs.nl (smtp01.wxs.nl [195.121.6.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E36043FA3 for ; Sat, 22 Nov 2003 15:27:52 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp01.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HOS00GDZ16EHJ@smtp01.wxs.nl> for freebsd-questions@freebsd.org; Sun, 23 Nov 2003 00:27:51 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.9p2/8.12.9) with ESMTP id hAMNRtYj006525; Sun, 23 Nov 2003 00:27:55 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.9p2/8.12.9/Submit) id hAMNRtxN006524; Sun, 23 Nov 2003 00:27:55 +0100 (CET envelope-from akruijff) Date: Sun, 23 Nov 2003 00:27:55 +0100 From: Alex de Kruijff In-reply-to: <00e101c3b14f$270d9480$6401a8c0@grant> To: Grant Peel Message-id: <20031122232755.GB532@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <00e101c3b14f$270d9480$6401a8c0@grant> cc: freebsd-questions@freebsd.org Subject: Re: PHP Auth X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 23:27:53 -0000 On Sat, Nov 22, 2003 at 06:20:00PM -0500, Grant Peel wrote: > Hi all, > > Two questions.... > > I have been reading as much as I can find on paswwd, master.passwd, > shadow, crypt etc etc etc. and am Still stuck on one point. If the encrypted > password is normally aslways different, due to 'salt', then how does one get > a match?? You encrypt the anwser that your user suplied and compair that to the encipted password. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/