heimdal-kpasswd: 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/bin/heimdal-kpasswd - from package: heimdal-workstation

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