Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2003 00:27:55 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Grant Peel <grant@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PHP Auth
Message-ID:  <20031122232755.GB532@dds.nl>
In-Reply-To: <00e101c3b14f$270d9480$6401a8c0@grant>
References:  <00e101c3b14f$270d9480$6401a8c0@grant>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



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