STIGQter STIGQter: STIG Summary: Amazon Linux 2023 Security Technical Implementation Guide Version: 1 Release: 4 Benchmark Date: 01 Jul 2026:

Amazon Linux 2023 must ensure the /var/log/messages file have mode "0640" or less permissive.

DISA Rule

SV-274128r1120372_rule

Vulnerability Number

V-274128

Group Title

SRG-OS-000206-GPOS-00084

Rule Version

AZLX-23-002330

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure Amazon Linux 2023 so that the "/var/log/messages" file has a mode of "0640" with the following command:

$ sudo chmod 0640 /var/log/messages

Check Contents

Verify Amazon Linux 2023 is configured so that the "/var/log/messages" file has a mode of "0640" or less permissive with the following command:

$ stat -c '%a %n' /var/log/messages
600 /var/log/messages

If "/var/log/messages" does not have a mode of "0640" or less permissive, this is a finding.

Vulnerability Number

V-274128

Documentable

False

Rule Version

AZLX-23-002330

Severity Override Guidance

Verify Amazon Linux 2023 is configured so that the "/var/log/messages" file has a mode of "0640" or less permissive with the following command:

$ stat -c '%a %n' /var/log/messages
600 /var/log/messages

If "/var/log/messages" does not have a mode of "0640" or less permissive, this is a finding.

Check Content Reference

M

Target Key

5700