STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 8 Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 23 Apr 2021:

The RHEL 8 /var/log/messages file must have mode 0640 or less permissive.

DISA Rule

SV-230245r627750_rule

Vulnerability Number

V-230245

Group Title

SRG-OS-000206-GPOS-00084

Rule Version

RHEL-08-010210

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Change the permissions of the file "/var/log/messages" to "0640" by running the following command:

$ sudo chmod 0640 /var/log/messages

Check Contents

Verify that the "/var/log/messages" file has mode "0640" or less permissive with the following command:

$ sudo stat -c "%a %n" /var/log/messages

640 /var/log/messages

If a value of "0640" or less permissive is not returned, this is a finding.

Vulnerability Number

V-230245

Documentable

False

Rule Version

RHEL-08-010210

Severity Override Guidance

Verify that the "/var/log/messages" file has mode "0640" or less permissive with the following command:

$ sudo stat -c "%a %n" /var/log/messages

640 /var/log/messages

If a value of "0640" or less permissive is not returned, this is a finding.

Check Content Reference

M

Target Key

2921

Comments