System log files must have mode 0640 or less permissive.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN001260

Associated with IA controls: ECTP-1

Associated with: CCI-001314

SV-35275r1_rule System log files must have mode 0640 or less permissive.

Vulnerability discussion

If the system log files are not protected, unauthorized users could change the logged data, eliminating its forensic value.

Check content

Check the mode of log files. # ls -lLR /var/log /var/log/syslog /var/adm /var/opt Note that some of the above directories will contain more than just system log files. For example: /var/adm/sa, /var/adm/sw, etc. Any non-system log files contained within the above directories should be excluded from this requirement. If any of the system log files have modes more permissive than 0640, this is a finding.

Fix text

Change the mode of the system log files to 0640 or less permissive. # chmod 0640 / NOTE: Do not confuse system log files with audit logs.

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