SV-239204r717055_rule
V-239204
SRG-APP-000148-DB-000103
VCPG-67-000012
CAT I
10
Navigate to and open /storage/db/pgdata/pg_hba.conf.
Find and remove the line that has a method of "trust" in the far right column.
A correct, typical line will look like the following:
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 md5
At the command prompt, execute the following command:
# grep -v "^#" /storage/db/vpostgres/pg_hba.conf|grep -z --color=always "trust"
If any lines are returned, this is a finding.
V-239204
False
VCPG-67-000012
At the command prompt, execute the following command:
# grep -v "^#" /storage/db/vpostgres/pg_hba.conf|grep -z --color=always "trust"
If any lines are returned, this is a finding.
M
5324