SV-98915r1_rule
V-88265
SRG-APP-000171-DB-000074
VROM-PG-000190
CAT II
10
Navigate to and open /storage/db/vcops/vpostgres/data/pg_hba.conf. Navigate to the user that has a method of "trust". Change the method to md5.
A correct, typical line will look like the below:
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 md5
At the command prompt, execute the following command to enter the psql prompt:
# cat /storage/db/vcops/vpostgres/data/pg_hba.conf
If any rows have "trust" specified for the "METHOD" column, this is a finding.
V-88265
False
VROM-PG-000190
At the command prompt, execute the following command to enter the psql prompt:
# cat /storage/db/vcops/vpostgres/data/pg_hba.conf
If any rows have "trust" specified for the "METHOD" column, this is a finding.
M
3445