SV-98985r1_rule
V-88335
SRG-APP-000506-DB-000353
VROM-PG-000585
CAT II
10
At the command prompt, execute the following commands:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET log_connections TO 'on';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
At the command prompt, execute the following command:
# grep '^\s*log_connections\b' /storage/db/vcops/vpostgres/data/postgresql.conf
If "log_connections" is not set to "on", this is a finding.
V-88335
False
VROM-PG-000585
At the command prompt, execute the following command:
# grep '^\s*log_connections\b' /storage/db/vcops/vpostgres/data/postgresql.conf
If "log_connections" is not set to "on", this is a finding.
M
3445