ttysnoop: 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/ttysnoop - from package: ttysnoop

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