SV-99255r1_rule
V-88605
SRG-OS-000206-GPOS-00084
VROM-SL-000805
CAT II
10
Change the permissions of the directory "/var/log" to "0750" by running the following command:
# chmod 0750 /var/log
Verify that the "/var/log" directory is the mode 0750 or less permissive by running the following command:
# ls -lad /var/log | cut -d' ' -f1
The output must look like the following example:
ls -lad /var/log | cut -d' ' -f1
drwxr-x---
If "drwxr-x---" is not returned as a result, this is a finding.
V-88605
False
VROM-SL-000805
Verify that the "/var/log" directory is the mode 0750 or less permissive by running the following command:
# ls -lad /var/log | cut -d' ' -f1
The output must look like the following example:
ls -lad /var/log | cut -d' ' -f1
drwxr-x---
If "drwxr-x---" is not returned as a result, this is a finding.
M
3461