I am running a python script that executes nmap on a given set of parameters. The point is to automate this so i do not have to interact with the cli at all. Every time I run my script, I am prompted with the error message:
'You requested a scan type which requires root priveleges.\nQUITTING!\n'
I understand that I can put "sudo" in front of my command, but the goal of my script is to not interact with the cli at all. I gave ownership of the script to my user, but still have the same error. Is there a way in which i can run nmap as a super user everytime without having to give the sudo command? All help appreciated!