Passwd format?
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Nov 13 09:29:38 PST 2004
In message <4196440A.7050706 at fer.hr>, Ivan Voras writes:
>Poul-Henning Kamp wrote:
>> In message <4196398D.2030000 at fer.hr>, Ivan Voras writes:
>>
>>>The Handbook and crypt(3) say passwords in master.passwd are MD5 hashes
>>>if they start with $1$, for example:
>>>
>>>$1$DP.s8oCc$VJo0/026/S5ng6HlD1Sz8/
>>>
>>>the format is $1$salt$rest. I have several questions:
>>>
>>>How are the values encoded? This looks something like base64.
>
>> Search for "md5crypt.c" in google and you'll find the source.
>
>This looks like it:
>http://mia.ece.uic.edu/cgi-bin/lxr/http/source/md5crypt.c?v=openssh-3.5p1
>
>It seems it's definitely NOT reusable in LDAP :(
Why not ?
Cisco uses it in their routers, Juniper uses it in their routers.
It's used in Flash animations, FreeBSD systems and Linux systems
alike.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current
mailing list