SV-100003r1_rule
V-89353
SRG-APP-000118-DB-000059
VRAU-PG-000095
CAT II
10
At the command prompt, enter the following command:
# chmod 600 /storage/db/pgdata/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/pgdata/pg_log/*.log
If the permissions on any log files are not "600", this is a finding.
V-89353
False
VRAU-PG-000095
At the command prompt, enter the following command:
# ls -l /storage/db/pgdata/pg_log/*.log
If the permissions on any log files are not "600", this is a finding.
M
3443