When starting a simple discovery I get the error:
"Nmap binary not on path, aborting."
How can I adjust the PATH ?
I installed openaudit 2.2.6 on OL7 (=CENTOS7).
Thanks in advance .
thanks for the fast answer.
Yes, nmap is in place:
[root@oaudit ~]# ls -ltr /usr/bin/nmap
-rwsr-xr-x. 1 root root 2647536 28. Jan 2018 /usr/bin/nmap
I found the reason
in line 189 of discover_subnet.sh
---> map_path=$(which nmap 2>/dev/null)
I installed "which" 'cause it wasn't there:
yum install which
[root@oaudit usr]# which nmap
Now it's fixed.
Thanks + Regards
I'm assuming Nmap is installed? Open-AudIT and Nmap
It should be automatically added to all users paths as far (as I know) as it lives in /usr/bin/nmap
PS - 2.2.7 is now available which contains bug fixes. Use that.
Powered by a free Atlassian Confluence Open Source Project License granted to Opmantek. Evaluate Confluence today.