SV-100021r1_rule
V-89371
SRG-APP-000148-DB-000103
VRAU-PG-000160
CAT II
10
Navigate to and open /storage/db/pgdata/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 following:
# 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/pgdata/pg_hba.conf
If any rows have "trust" specified for the "METHOD" column, this is a finding.
V-89371
False
VRAU-PG-000160
At the command prompt, execute the following command to enter the psql prompt:
# cat /storage/db/pgdata/pg_hba.conf
If any rows have "trust" specified for the "METHOD" column, this is a finding.
M
3443