heimdal-kswitch: 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-kswitch - from package: heimdal-workstation

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