shadowconfig: 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:

/sbin/shadowconfig - from package: passwd

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