| 1 |
# Configuration for systemwide password quality limits |
| 2 |
# Defaults: |
| 3 |
# |
| 4 |
# Number of characters in the new password that must not be present in the |
| 5 |
# old password. |
| 6 |
# difok = 1 |
| 7 |
# |
| 8 |
# Minimum acceptable size for the new password (plus one if |
| 9 |
# credits are not disabled which is the default). (See pam_cracklib manual.) |
| 10 |
# Cannot be set to lower value than 6. |
| 11 |
# minlen = 8 |
| 12 |
# |
| 13 |
# The maximum credit for having digits in the new password. If less than 0 |
| 14 |
# it is the minimum number of digits in the new password. |
| 15 |
# dcredit = 0 |
| 16 |
# |
| 17 |
# The maximum credit for having uppercase characters in the new password. |
| 18 |
# If less than 0 it is the minimum number of uppercase characters in the new |
| 19 |
# password. |
| 20 |
# ucredit = 0 |
| 21 |
# |
| 22 |
# The maximum credit for having lowercase characters in the new password. |
| 23 |
# If less than 0 it is the minimum number of lowercase characters in the new |
| 24 |
# password. |
| 25 |
# lcredit = 0 |
| 26 |
# |
| 27 |
# The maximum credit for having other characters in the new password. |
| 28 |
# If less than 0 it is the minimum number of other characters in the new |
| 29 |
# password. |
| 30 |
# ocredit = 0 |
| 31 |
# |
| 32 |
# The minimum number of required classes of characters for the new |
| 33 |
# password (digits, uppercase, lowercase, others). |
| 34 |
# minclass = 0 |
| 35 |
# |
| 36 |
# The maximum number of allowed consecutive same characters in the new password. |
| 37 |
# The check is disabled if the value is 0. |
| 38 |
# maxrepeat = 0 |
| 39 |
# |
| 40 |
# The maximum number of allowed consecutive characters of the same class in the |
| 41 |
# new password. |
| 42 |
# The check is disabled if the value is 0. |
| 43 |
# maxclassrepeat = 0 |
| 44 |
# |
| 45 |
# Whether to check for the words from the passwd entry GECOS string of the user. |
| 46 |
# The check is enabled if the value is not 0. |
| 47 |
# gecoscheck = 0 |
| 48 |
# |
| 49 |
# Whether to check for the words from the cracklib dictionary. |
| 50 |
# The check is enabled if the value is not 0. |
| 51 |
# dictcheck = 1 |
| 52 |
# |
| 53 |
# Whether to check if it contains the user name in some form. |
| 54 |
# The check is enabled if the value is not 0. |
| 55 |
# usercheck = 1 |
| 56 |
# |
| 57 |
# Length of substrings from the username to check for in the password |
| 58 |
# The check is enabled if the value is greater than 0 and usercheck is enabled. |
| 59 |
# usersubstr = 0 |
| 60 |
# |
| 61 |
# Whether the check is enforced by the PAM module and possibly other |
| 62 |
# applications. |
| 63 |
# The new password is rejected if it fails the check and the value is not 0. |
| 64 |
# enforcing = 1 |
| 65 |
# |
| 66 |
# Path to the cracklib dictionaries. Default is to use the cracklib default. |
| 67 |
# dictpath = |
| 68 |
# |
| 69 |
# Prompt user at most N times before returning with error. The default is 1. |
| 70 |
# retry = 3 |
| 71 |
# |
| 72 |
# Enforces pwquality checks on the root user password. |
| 73 |
# Enabled if the option is present. |
| 74 |
# enforce_for_root |
| 75 |
# |
| 76 |
# Skip testing the password quality for users that are not present in the |
| 77 |
# /etc/passwd file. |
| 78 |
# Enabled if the option is present. |
| 79 |
# local_users_only |