Hello, team I've made script, which uses the sudo command. I've deployed it on my forwarders, and I get the error: message from "/opt/splunkforwarder/etc/apps/app/bin/script.sh" sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? My forwarders boot from splunk user (if change boot to root - script works). Splunk user is in sudoers, it have rights to execute sudo commands, but as far as I understand script must be executed with root user, not anyone else even if it have sudo privileges. /usr/bin/sudo - nosuid option not set, and file system isn't NFS. Tried to make owner of script root, and give to it setuid, but still not works. Any ideas? How to make script be executable by splunk user?
... View more