Re: slightly OT::shadow file..

Bernhard Rosenkraenzer (bero@redhat.com)
Tue, 16 Nov 1999 19:22:09 +0100 (CET)


On Tue, 16 Nov 1999, Arni Raghu wrote:

> testme:$1$hI.ost8u$XZNxiISsD2ZuOrb6/Td3a/:10910:0:99999:7:-1:-1:134537888
>
> then using a simple perl script..I do $passwd = crypyt("testme2","$1");
>
> But the passwd I get is not the same as the one encoded in teh shadow
> file...

That's because crypt() crypts with DES, but you're using MD5 passwords.
The advantage of MD5 passwords is that they're more difficult to
brute-force crack, and they can be longer than 8 characters.

LLaP
bero

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/