crack extension and gecos info
| From: | Seth Hollyman | Date: | Mon, 16 Feb 2004 22:01:11 +0000 |
| Subject: | crack extension and gecos info | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177873@lists.php.net to get a copy of this message | ||
One of the really handy things that the cracklib library does is
evaluate whether a password is based on a user's gecos information.
The php crack extension (--with-crack) allows me to test password
strength, but it doesn't allow me to specify the users name/gecos
information. Instead, it uses the information of the current user (in
this case, the uid of the webserver process).
Is there a way to provide the equivalent of the gecos data to
crack_check() somehow?
Seth