SV-98975r1_rule
V-88325
SRG-APP-000503-DB-000350
VROM-PG-000560
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-88325
False
VROM-PG-000560
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