[CentOS] exercising pam_cracklib from the command line

Thu Nov 20 17:22:13 UTC 2014
James B. Byrne <byrnejb at harte-lyne.ca>

On Thu, November 20, 2014 04:44, Elias Persson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2014-11-17 20:57, James B. Byrne wrote:
>> CentOS-6.6
>>
>> Is there any command line program that determines and reports what
>> pam_cracklib.so returns for a given password; subject to variation
>> in the command line options and values provided?  For example,
>> assuming a cli driver program called cli_driver_pgm:
>>
>
> Googling for `"pam_cracklib" cli tool` got me a recommendation of
> `cracklib-check` via superuser [1]. Not sure if that does what you want,
> but it might be a start?
>

I came up with cracklib-check too. It too uses FascistCheck like pam_cracklib
but none of the elements that are configurable for pam_cracklib are setable
for cracklib-check.  I have obtained the source for pam_cracklib so I will see
if I can create something on my own to yield what I wish. Sometime. Maybe. If
I live long enough.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3