SV-259175r1210434_rule
V-259175
SRG-APP-000148-DB-000103
VCPG-80-000036
CAT II
10
Navigate to and open:
/storage/db/vpostgres/pg_hba.conf
Find and update any line that has a method of "trust" or "password" in the far-right column.
A correct, typical line will look like the following:
# TYPE DATABASE USER ADDRESS METHOD
local VCDB vpxd peer map=vcdb
Restart the PostgreSQL service by running the following command:
# vmon-cli --restart vmware-vpostgres
At the command prompt, run the following command:
# grep -v "^#" /storage/db/vpostgres/pg_hba.conf |grep '\S'
If any lines returned contain "trust" or "password" as an auth-method, this is a finding.
V-259175
False
VCPG-80-000036
At the command prompt, run the following command:
# grep -v "^#" /storage/db/vpostgres/pg_hba.conf |grep '\S'
If any lines returned contain "trust" or "password" as an auth-method, this is a finding.
M
5570