ok that works... but can you explain why?
su - and command not found
sudo bash and it works.
Can you explain the difference? Why does sudo bash do that now changes the path to where nmap is?
Also, I'd stil like to know how to change the path for the root user so I wouldn't have to set it...