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