[ILUG] What's the story with MD5 & crypt()

John_White at dell.com John_White at dell.com
Tue Nov 2 17:15:15 GMT 1999


Thanks everyone for your help,

here's what I have learned . . . .

PAM is available at least on Solaris*, FreeBSD and Linux (maybe more -
anybody know ?)

The crypt() with RH6.0 should support MD5 encryption, however there is no
indication for this in the man page, a `grep -i MD5 *` in /usr/include
doesn't show anything terribly useful, the crypt() still only takes 2
arguments, and nowhere seems to document a #define to specify the encryption
method. If anybody can offer any more help on this (getting back an MD5
encrypted password from crypt()) I'd much appreciate it. (I still have to
cater for systems with MD5 encryption but no PAM)

I reckon it's time for me to include support for PAM. If I write the code on
Linux will I run into problems with differences in the names/argument types
of the authentication functions across platforms? That is to say, how closly
do the different incarnations of PAM resemble each other ?


All help much appreciated . . . .
John.

* B.T.W. The server that handles the ordering of the "free" developer
edition of solaris has been unavailable for weeks . . . has anybody else had
problems ? 





More information about the ILUG mailing list