SV-281035r1165460_rule
V-281035
SRG-OS-000206-GPOS-00084
RHEL-10-400090
CAT II
10
Configure RHEL 10 so that the owner of the "/var/log/messages" file is set to "root" by running the following command:
$ sudo chown root /var/log/messages
Verify RHEL 10 is configured so that the "/var/log/messages" file is owned by root with the following command:
$ stat -c "%U %n" /var/log/messages
root /var/log/messages
If "/var/log/messages" does not have an owner of "root", this is a finding.
V-281035
False
RHEL-10-400090
Verify RHEL 10 is configured so that the "/var/log/messages" file is owned by root with the following command:
$ stat -c "%U %n" /var/log/messages
root /var/log/messages
If "/var/log/messages" does not have an owner of "root", this is a finding.
M
5733