SV-99253r1_rule
V-88603
SRG-OS-000206-GPOS-00084
VROM-SL-000800
CAT II
10
Change the owner of the directory "/var/log" to "root" by running the following command:
# chown root /var/log
Verify that the "/var/log" directory is owned by "root" by running the following command:
# ls -lad /var/log | cut -d' ' -f3
The output must look like the following example:
ls -lad /var/log | cut -d' ' -f3
root
If "root" is not returned as a result, this is a finding.
V-88603
False
VROM-SL-000800
Verify that the "/var/log" directory is owned by "root" by running the following command:
# ls -lad /var/log | cut -d' ' -f3
The output must look like the following example:
ls -lad /var/log | cut -d' ' -f3
root
If "root" is not returned as a result, this is a finding.
M
3461