Hello:

Suresh Ramasubramanian wrote,
> +++ Shanker Balan [linux-india] <22/02/02 12:21 +0530>:
> > The Linux hashing scheme (taken from BSD IIRC) uses a MD5 algo with a 8
> > char random salt prefixed by "$1$".
 
> the linux md5 and the bsd md5 are a bit different - and md5sum will produce
> different results on linux and *bsd :)

This is not plain MD5, its MD5 with an 8 char random salt. "md5sum" does
not use random salts. Most password hashing schemes use salt. NTLM
hashes which Windows uses have no salt which is why there are easy to
decrypt.

Looking at the passwd file in Linux and FreeBSD 4.5, i dont see any
differrence in the hashing scheme. Both the OSes follow the same
convention - "$1$somesalt$hashedpassword".

I have not copied over the hash from Linux to FreeBSD or vice-versa
to _actually_ confirm equivalance.

"man 3 crypt" also suggests the same.

-- Shanu

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to