SV-274129r1120375_rule
V-274129
SRG-OS-000206-GPOS-00084
AZLX-23-002335
CAT II
10
Configure Amazon Linux 2023 so that the "/var/log/messages" file is group-owned "root" with the following command:
$ sudo chgrp root /var/log/messages
Verify Amazon Linux 2023 is configured so that the "/var/log/messages" file is group-owned by root with the following command:
$ stat -c "%G %n" /var/log/messages
root /var/log/messages
If "/var/log/messages" does not have a group owner of "root", this is a finding.
V-274129
False
AZLX-23-002335
Verify Amazon Linux 2023 is configured so that the "/var/log/messages" file is group-owned by root with the following command:
$ stat -c "%G %n" /var/log/messages
root /var/log/messages
If "/var/log/messages" does not have a group owner of "root", this is a finding.
M
5700