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