tomoyo-editpolicy: 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/tomoyo-editpolicy - from package: tomoyo-tools

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