The /etc/syslog.conf file must have mode 0640 or less permissive.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN005390

Associated with: CCI-000225

SV-63467r2_rule The /etc/syslog.conf file must have mode 0640 or less permissive.

Vulnerability discussion

Unauthorized users must not be allowed to access or modify the /etc/syslog.conf file.

Check content

Check the permissions of the syslog configuration file. Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. # ls -lL /etc/syslog.conf Or: # ls -lL /etc/rsyslog.conf If the mode of the file is more permissive than 0640, this is a finding.

Fix text

Change the permissions of the syslog or rsyslog configuration file. # chmod 0640 /etc/syslog.conf Or: # chmod 0640 /etc/rsyslog.conf

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer