I'm currently looking to roll-out a 3rd party software agent to my client's linux server infrastructure. The agent will run on startup and shutdown, and one of the pre-requisites for the agent to run is that it has a sudoers file entry of the form:
agent-user ALL=NOPASSWD: /opt/agent-executable
The client's security team have raised concerns about this, in particular the combination of being able to invoke sudo, without a password, on Internet-facing servers. And have asked if the security around this can be tightened up?
I'm kind of stuck with requirements of the 3rd party software (sudoers entry + NOPASSWD), but I wondered what other options there might be to make the deployment of this agent more secure?