SV-282520r1200540_rule
V-282520
SRG-OS-000206-GPOS-00084
TOSS-05-000173
CAT II
10
Change the owner of the "/var/log/messages" file to "root" using the following command:
$ sudo chown root /var/log/messages
Verify the "/var/log/messages" file is owned by root using the following command:
$ ls -la /var/log/messages
rw-------. 1 root root 564223 July 11 11:34 /var/log/messages
If "/var/log/messages" does not have an owner of "root", this is a finding.
V-282520
False
TOSS-05-000173
Verify the "/var/log/messages" file is owned by root using the following command:
$ ls -la /var/log/messages
rw-------. 1 root root 564223 July 11 11:34 /var/log/messages
If "/var/log/messages" does not have an owner of "root", this is a finding.
M
5738