/etc/security/pwquality.conf

# Minimum acceptable size for the new password (plus one if
# credits are not disabled which is the default). (See pam_cracklib manual.)
# Cannot be set to lower value than 6.
 minlen = 10
#
# The maximum credit for having digits in the new password. If less than 0
# it is the minimum number of digits in the new password.
 dcredit = -1
#
# The maximum credit for having uppercase characters in the new password.
# If less than 0 it is the minimum number of uppercase characters in the new
# password.
 ucredit = -1
#
# The maximum credit for having lowercase characters in the new password.
# If less than 0 it is the minimum number of lowercase characters in the new
# password.
 lcredit = -1
#
# The maximum credit for having other characters in the new password.
# If less than 0 it is the minimum number of other characters in the new
# password.
 ocredit = -1
#
# The minimum number of required classes of characters for the new
# password (digits, uppercase, lowercase, others).
 minclass = 4


# Simplificado

"minlen" é o tamanho mínimo da senha.
"dcredit" é valor crédito dos dígitos.
"ucredit" é o valor crédito das letra maiúsculas.
"lcredit" é o valor crédito das letra minúsculas.
"ocredit" é o valor crédito dos caracteres especiais.
"minclass" é o mínimo de tipos de caracteres que uma senha deve conter.
"minclass" é a quantidade de tipos de caracteres diferentes que as senhas devem conter.

Legenda

u → uppercase

l → lowercase

o → other case

min → minimal

crédito → se refere ao input do dado