Re: slightly OT::shadow file..

Coy A Hile (hile@cse.psu.edu)
Tue, 16 Nov 1999 13:56:09 -0500 (EST)


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/