Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Enterprise Advanced
Created by Guest
Created on May 18, 2020

MongoDB Agent alters the root $PATH variable

The MongoDB Agent installation via RPM adds the /var/lib/mongodb-mms-automation/bin to root's $PATH by placing the mongodb-mms-automation-agent.sh script under the /etc/profile.d: $ pwd /etc/profile.d $ sudo cat mongodb-mms-automation-agent.sh export PATH=/var/lib/mongodb-mms-automation/bin:${PATH} This breaks my customers security standards. Moving the script does not appear to affect the functionality of the MongoDB Agent and updating the agent via the OM UI does not add back the script. We would like the ability to either select the contents of the MongoDB Agent rpm or be asked during the rpm installation whether or not to install the mongodb-mms-automation-agent.sh script.