SV-96601r1_rule
V-81887
SRG-APP-000243-DB-000373
MD3X-00-000470
CAT II
10
Correct the permission to the files and/or directories that are in violation.
MongoDB Configuration file (default location):
chown mongod:mongod /etc/mongod.conf
chmod 755 /etc/mongod.conf
MongoDB data file directory (default location):
chown -R mongod:mongod/var/lib/mongo
chmod -R 755/var/lib/mongo
Verify the permissions for the following database files or directories:
MongoDB default configuration file: "/etc/mongod.conf"
MongoDB default data directory: "/var/lib/mongo"
If the owner and group are not both "mongod", this is a finding.
If the file permissions are more permissive than "755", this is a finding.
V-81887
False
MD3X-00-000470
Verify the permissions for the following database files or directories:
MongoDB default configuration file: "/etc/mongod.conf"
MongoDB default data directory: "/var/lib/mongo"
If the owner and group are not both "mongod", this is a finding.
If the file permissions are more permissive than "755", this is a finding.
M
3265