lkml.org 
[lkml]   [1999]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: slightly OT::shadow file..
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.058 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site