im trying to run an nmap scan as an input to splunk that is running as a non-root user. Ive setup sudo to allow passwordless root access to one command only. Entering an input via "data inputs > script".
Command: /usr/bin/sudo /usr/bin/nmap -A -O 192.168.0.0/24
But i get the following error
Encountered the following error while trying to save: In handler 'script': The command path "/usr/bin/sudo" is not allowed for scripted inputs.
How can i make this work?
Splunk Version: 6.1.3
Splunk Build: 220630
Search & Reporting App Version: 6.1.3
Ubuntu Linux x64 12.10, fully updated
... View more