File Locations - configuration file

Information

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

Solution

Change owner of the PostgreSQL configuration files. Example:

chown @PG_OWNER@:@PG_GROUP@ @PG_CONFIG_DIR@/postgresql.conf
chmod u-x,g-rwx,o-rwx @PG_CONFIG_DIR@/postgresql.conf

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: b23b4d67f119b2b988b71cbdd948c18f20f58be57f199b49294cb7eff8c4928a