lkml.org 
[lkml]   [1999]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: slightly OT::shadow file..
Date
Arni Raghu sez....
>
>
> Here is a simple sequence that I perform..::
>
> useradd testme
> passwd testme :: (passwd entered is testme2)
>
> then look into the shadow file and see::
>
> 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...
>
Many new distribution installations use MD5 passwords instead of standard
libc crypt() passwords.

The Shadow file you show is an example.

Coy


-
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.115 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site