SV-274125r1120363_rule
V-274125
SRG-OS-000206-GPOS-00084
AZLX-23-002315
CAT II
10
Configure Amazon Linux 2023 so that the "/var/log" directory has a mode of "0755" by running the following command:
$ sudo chmod 0755 /var/log
Verify Amazon Linux 2023 is configured so that the "/var/log" directory has a mode of "0755" or less permissive with the following command:
$ stat -c '%a %n' /var/log
755 /var/log
If "/var/log" does not have a mode of "0755" or less permissive, this is a finding.
V-274125
False
AZLX-23-002315
Verify Amazon Linux 2023 is configured so that the "/var/log" directory has a mode of "0755" or less permissive with the following command:
$ stat -c '%a %n' /var/log
755 /var/log
If "/var/log" does not have a mode of "0755" or less permissive, this is a finding.
M
5700