Logging - log_directory permissions

Warning! Audit Deprecated

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

View Next Audit Version

Information

Log files should be protected from modification.

Solution

Change owner and permissions of the PostgreSQL log 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: 17e656110c13ed976837bce491ab676d10d9d1674fa85fd366475baebfa60db5