[nSLUG] Crypt in Perl
George N. White III
gnwiii at gmail.com
Wed Jan 7 17:40:28 AST 2009
Did you try using the encrypted password as the salt?
On Wed, Jan 7, 2009 at 1:55 PM, D G Teed <donald.teed at gmail.com> wrote:
> I found a solution, based on what I saw here:
> Someone in that post tried a one char seed with a bit
> of C code using crypt.h, and always got a "." as the second char
> in the crypt output. So I tested with a salt of "X." -
> the output is the same as salt of "X" except
> the second char is always "." in the output.
> I just need to edit all of the flat files to change the second char
> to "." and it will match.
> Weird but better than getting all users to reset their passwords.
> nSLUG mailing list
> nSLUG at nslug.ns.ca
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
More information about the nSLUG