SV-100023r1_rule
V-89373
SRG-APP-000171-DB-000074
VRAU-PG-000165
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-89373
False
VRAU-PG-000165
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