SV-275582r1147796_rule
V-275582
SRG-OS-000206-GPOS-00084
RIIM-OS-232025
CAT II
10
Configure the "/var/log" directory to have permissions of "0755" by using the following command:
$ sudo chmod 0755 /var/log
Verify the "/var/log" directory has mode of "755" or less permissive by using the following command:
Note: If rsyslog is active and enabled on the operating system, this requirement is not applicable.
$ stat -c "%n %a" /var/log
/var/log 755
If a value of "755" or less permissive is not returned, this is a finding.
V-275582
False
RIIM-OS-232025
Verify the "/var/log" directory has mode of "755" or less permissive by using the following command:
Note: If rsyslog is active and enabled on the operating system, this requirement is not applicable.
$ stat -c "%n %a" /var/log
/var/log 755
If a value of "755" or less permissive is not returned, this is a finding.
M
5706