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

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