Cisco Cisco MediaSense Release 9.1(1) ライセンス情報

ページ / 6316
             Open Source Used In Cisco MediaSense 11.5(1)                                                                                                                                    980
you must have enough free space available for use by the "sort" command,
when the dictionary is built.
 
So: If you do not have (say) about 20Mb free in /usr/tmp (or whatever
temporary area your "sort" command uses), have a look at the
"util/mkdict" script.
 
You can usually tweak the "sort" command to use any large area of disk
you desire, by use of the "-T" option, and "mkdict" has a hook for this.
 
 
STEP 4) Wire a call to "FascistCheck()" into your "passwd" program
 
 
- Left as an exercise for the reader.
 
 
*** Example of how to invoke CrackLib
 
Insert a call to the routine FascistCheck, which is defined thusly:
 
NAME
FascistCheck - check a potential password for guessability
 
 
SYNOPSIS
 
char *FascistCheck(char *pw, char *dictpath);
 
 
DESCRIPTION
 
FascistCheck() takes 2 arguments:
 
pw - a string continaing the users chosen "potential password"
 
dictpath - the full path name + filename prefix of the
CrackLib dictionary, specified in the installation Makefile.
(If you still haven't sussed, I'm talking about DICTPATH).
 
 
RETURN VALUE
 
FascistCheck() returns the NULL pointer for a good password,
or a pointer to a diagnostic string if it is a bad password.
 
 
BUGS