File Locations - data files

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

PostgreSQL configuration and data files should be protected against view and modification from unauthorized users.

Solution

Change owner and permissions of the PostgreSQL data files. Example:

chown -R @PG_OWNER@:@PG_GROUP@ @PG_DATA_DIR@
chmod -R u-x,g-rwx,o-rwx @PG_DATA_DIR@

See Also

https://www.postgresql.org/docs/9.6/static/index.html

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|3.1

Plugin: Unix

Control ID: c6390de719a39fbbf333afb8ae960e5eea887fe80b7490a33657fd0273445b80