SV-100019r1_rule
V-89369
SRG-APP-000141-DB-000090
VRAU-PG-000145
CAT II
10
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "DROP DATABASE IF EXISTS <name>;"
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT datname FROM pg_database WHERE datistemplate = false;"
If the output is not the following lines, this is a finding.
datname
----------
postgres
vcac
(2 rows)
V-89369
False
VRAU-PG-000145
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT datname FROM pg_database WHERE datistemplate = false;"
If the output is not the following lines, this is a finding.
datname
----------
postgres
vcac
(2 rows)
M
3443