4.2.2.3 Ensure syslog-ng default file permissions configured

Information

It is important to ensure that log files exist and have the correct permissions to ensure that sensitive syslog-ng data is archived and protected.

Solution

Edit the /etc/syslog-ng/syslog-ng.conf and set perm option to 0640 or more restrictive:
options { chain_hostnames(off); flush_lines(0); perm(0640); stats_freq(3600); threaded(yes); };

See Also

https://workbench.cisecurity.org/files/1863

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9(4), CSCv6|5.1

Plugin: Unix

Control ID: 01cb17da731656b844cf365c9cb44bbbae89d29cab03a4f3a766274eb55f3ac3