SV-213607r508024_rule
V-213607
SRG-APP-000243-DB-000374
PPS9-00-006100
CAT II
10
Run these commands:
1) "chown enterprisedb <postgresql data directory>"
2) "chgrp enterprisedb <postgresql data directory>"
3) "chmod 700 <postgresql data directory>"
(The default path for the postgresql data directory is /var/lib/ppas/9.5/data, but this will vary according to local circumstances.)
Verify User ownership, Group ownership, and permissions on the <postgressql data directory> directory:
> ls –ald <postgresql data directory>
If the User owner is not “enterprisedb”, this is a finding
If the Group owner is not “enterprisedb”, this is a finding.
If the directory is more permissive than 700, this is a finding.
(The default path for the postgresql data directory is /var/lib/ppas/9.5/data, but this will vary according to local circumstances.)
V-213607
False
PPS9-00-006100
Verify User ownership, Group ownership, and permissions on the <postgressql data directory> directory:
> ls –ald <postgresql data directory>
If the User owner is not “enterprisedb”, this is a finding
If the Group owner is not “enterprisedb”, this is a finding.
If the directory is more permissive than 700, this is a finding.
(The default path for the postgresql data directory is /var/lib/ppas/9.5/data, but this will vary according to local circumstances.)
M
3988