UCF STIG Viewer Logo

System log files must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-787 GEN001260 SV-44946r1_rule Medium
Description
If the system log files are not protected, unauthorized users could change the logged data, eliminating its forensic value.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42373r1_chk )
Check the mode of log files.

Procedure:
# ls -lL /var/log /var/log/syslog /var/adm

With the exception of /var/log/wtmp, if any of the log files have modes more permissive than 0640, this is a finding.
Fix Text (F-38370r1_fix)
Change the mode of the system log file(s) to 0640 or less permissive.

Procedure:
# chmod 0640 /path/to/system-log-file

Note: Do not confuse system log files with audit logs.