1
0
-1

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 .

Regards

Axel

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Mark,

      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

      [root@oaudit ~]#

       

      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

      Now:

      [root@oaudit usr]# which nmap

      /usr/bin/nmap

      [root@oaudit usr]#

       

      Now it's fixed.

      Thanks + Regards

      Axel

       

       

        CommentAdd your comment...
      1.  
        1
        0
        -1

        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.

          CommentAdd your comment...