Random Project

Permissions and return state

Hello,
I have to give permissions to execute all the users the nmap command
chmod u+s /usr/bin/nmap

And I change exit value at the end, to UNKNOWN state because is confused CRITICAL state.

echo “UNKNOWN: $p_result ——”
exit ${STATE_UNKNOWN}