-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

Redhat by default uses md5 encrypted shadow passwords. Now we ran into a
particular problem in which we have to read the shadow file and
authenticate users.(No we don't want to use the passwd C libraries)

I noticed a weird thing. Isn't MD5 strings supposed to be in
hexadecimal? The shadow file passwords are not so.

I tried a small experiment. I put the password of a known person in a text
file (without newline) and run md5sum on it. The hash had nothing in
common with the /etc/shadow equivalent. What am i doing wrong?

TIA,
 Sandip

- -- 
- -------------------------------------
Sandip Bhattacharya 
sandipb @ bigfoot.com
- -------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6L8pILbo5p3iZaVgRAgmKAKDDnj7yWI2QpHFjTsKjl+Cz/9pYBgCgqg3D
5UBbPmxTC4YB/HDpecd7Fi8=
=jEK5
-----END PGP SIGNATURE-----



----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to