| 1 |
This is a libpwquality library for password quality checking |
| 2 |
and generation of random passwords that pass the checks. |
| 3 |
|
| 4 |
NOTES: |
| 5 |
|
| 6 |
This library uses the cracklib as a dependency. |
| 7 |
|
| 8 |
See the pwquality.h header file for the API. |
| 9 |
|
| 10 |
There are simple tools that use the libpwquality: |
| 11 |
|
| 12 |
pwscore - reads the password to be checked from the standard input |
| 13 |
Optional argument is an user name for additional checks. |
| 14 |
|
| 15 |
pwmake - generates a random password |
| 16 |
Required argument is number of bits of entropy used to |
| 17 |
generate the password. |
| 18 |
|
| 19 |
The pwquality Python wrapper module can be used to call the libpwquality |
| 20 |
functionality from Python. |
| 21 |
|
| 22 |
And finally there is pam_pwquality Linux PAM module that can be used |
| 23 |
instead of pam_cracklib to disallow weak new passwords when user's login |
| 24 |
password is changed. |