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 be owned by root.

DISA Rule

SV-230246r627750_rule

Vulnerability Number

V-230246

Group Title

SRG-OS-000206-GPOS-00084

Rule Version

RHEL-08-010220

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Change the owner of the file /var/log/messages to root by running the following command:

$ sudo chown root /var/log/messages

Check Contents

Verify that the /var/log/messages file is owned by root with the following command:

$ sudo stat -c "%U" /var/log/messages

root

If "root" is not returned as a result, this is a finding.

Vulnerability Number

V-230246

Documentable

False

Rule Version

RHEL-08-010220

Severity Override Guidance

Verify that the /var/log/messages file is owned by root with the following command:

$ sudo stat -c "%U" /var/log/messages

root

If "root" is not returned as a result, this is a finding.

Check Content Reference

M

Target Key

2921

Comments