SV-98893r1_rule
V-88243
SRG-APP-000118-DB-000059
VROM-PG-000105
CAT II
10
At the command prompt, enter the following command:
# chmod 600 /storage/db/vcops/vpostgres/data/pg_log/<file_name>
Replace <file_name> with files to be modified.
At the command prompt, execute the following commands:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET log_file_mode TO '0600';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
At the command prompt, enter the following command:
# ls -l /storage/db/vcops/vpostgres/data/pg_log/*.log
If the permissions on any log files are not "600", this is a finding.
V-88243
False
VROM-PG-000105
At the command prompt, enter the following command:
# ls -l /storage/db/vcops/vpostgres/data/pg_log/*.log
If the permissions on any log files are not "600", this is a finding.
M
3445