setenforce: 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 CentOS possible default full paths are:

/usr/sbin/setenforce - from package: libselinux-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/setenforce - from package: selinux-utils

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