SV-239215r717066_rule
V-239215
SRG-APP-000374-DB-000322
VCPG-67-000023
CAT II
10
At the command prompt, execute the following commands:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET log_timezone TO 'Etc/UTC';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SHOW log_timezone;"|sed -n 3p|sed -e 's/^[ ]*//'
Expected result:
Etc/UTC
If the output does not match the expected result, this is a finding.
V-239215
False
VCPG-67-000023
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SHOW log_timezone;"|sed -n 3p|sed -e 's/^[ ]*//'
Expected result:
Etc/UTC
If the output does not match the expected result, this is a finding.
M
5324