SV-257916r1101916_rule
V-257916
SRG-OS-000206-GPOS-00084
RHEL-09-232180
CAT II
10
Change the owner of the "/var/log/messages" file to "root" by running the following command:
$ sudo chown root /var/log/messages
Verify 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-257916
False
RHEL-09-232180
Verify 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
5551