SV-100077r1_rule
V-89427
SRG-APP-000503-DB-000350
VRAU-PG-000425
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/pgdata/postgresql.conf
If log_connections is not on, this is a finding.
V-89427
False
VRAU-PG-000425
At the command prompt, execute the following command:
# grep '^\s*log_connections\b' /storage/db/pgdata/postgresql.conf
If log_connections is not on, this is a finding.
M
3443