sync-accounts-createuser: 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

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/bin/sync-accounts-createuser - from package: chiark-scripts

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