SV-281033r1165454_rule
V-281033
SRG-OS-000206-GPOS-00084
RHEL-10-400080
CAT II
10
Configure RHEL 10 so that the owner of the directory "/var/log" is set to "root" by running the following command:
$ sudo chown root /var/log
Verify RHEL 10 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-281033
False
RHEL-10-400080
Verify RHEL 10 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
5733