SV-98913r1_rule
V-88263
SRG-APP-000148-DB-000103
VROM-PG-000185
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-88263
False
VROM-PG-000185
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