cmospwd: 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 Debian possible default full paths are:

/usr/sbin/cmospwd - from package: cmospwd

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