create-cracklib-dict: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/sbin/create-cracklib-dict - from package: cracklib

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/create-cracklib-dict - from package: cracklib-runtime

You may install the required package with command apt-get install {package}
Error in other languages:
create-cracklib-dict: bevel nie gevind nie
create-cracklib-dict: comandă negăsită
create-cracklib-dict: comando não encontrado
create-cracklib-dict: commande introuvable
create-cracklib-dict: command not found
create-cracklib-dict: käsku ei ole
create-cracklib-dict: không tìm thấy lệnh
create-cracklib-dict: komanda nerasta
create-cracklib-dict: Kommando nicht gefunden.
create-cracklib-dict: kommandot finns inte
create-cracklib-dict: komut yok
create-cracklib-dict: nie znaleziono polecenia
create-cracklib-dict: níor aimsíodh an t-ordú
create-cracklib-dict: no se encontró la orden
create-cracklib-dict: no s'ha trobat l'ordre
create-cracklib-dict: opdracht niet gevonden
create-cracklib-dict: parancs nem található
create-cracklib-dict: perintah tidak ditemukan
create-cracklib-dict: príkaz nenájdený
create-cracklib-dict: příkaz nenalezen
create-cracklib-dict: команда не найдена
create-cracklib-dict: командата не е открита
create-cracklib-dict: 命令找不到
create-cracklib-dict: コマンドが見つかりません