in reply to Re: Crypt::Cracklib install problems
in thread Crypt::Cracklib install problems

Sorry for not being clear--I did indeed install cracklib from source, and there is no crack.h to be found--only .../cracklib,2.7/cracklib/libcrack.a appears to be similar in function.

--TQuid

Replies are listed 'Best First'.
RE: RE: Re: Crypt::Cracklib install problems
by mitd (Curate) on Nov 10, 2000 at 10:42 UTC
    Holy Bull Feathers, you're absolutely right, downloaded a couple or source distor's, and no crack.h So with out futher ado, here it is: (you're gonna life when you look) :)

    crack.h

    #ifndef CRACKLIB_H #define CRACKLIB_H /* Pass this function a password (pw) and a path to the * dictionaries (/usr/lib/cracklib_dict should be specified) * and it will either return a NULL string, meaning that the * password is good, or a pointer to a string that explains the * problem with the password. * You must link with -lcrack */ extern char *FascistCheck(char *pw, char *dictpath); #endif
    Hope it helps. BTW, looking at comment was there possibly a seperate distro for cracklib_dict ??? Maybe thats where it is.

    Anyway back to the dark, bark to code. see ya

    mitd-Made in the Dark
    'My favourite colour appears to be grey.'