SV-99261r1_rule
V-88611
SRG-OS-000206-GPOS-00084
VROM-SL-000820
CAT II
10
Change the permissions of the file "/var/log/messages" to "0640" by running the following command:
# chmod 0640 /var/log/messages
Verify that the "/var/log/messages" file is 0640 or less permissive by running the following command:
# ls -lad /var/log/messages | cut -d' ' -f1
The output must look like the following example:
ls -lad /var/log/messages | cut -d' ' -f1
-rw-r-----
If "-rw-r-----" is not returned as a result, this is a finding.
V-88611
False
VROM-SL-000820
Verify that the "/var/log/messages" file is 0640 or less permissive by running the following command:
# ls -lad /var/log/messages | cut -d' ' -f1
The output must look like the following example:
ls -lad /var/log/messages | cut -d' ' -f1
-rw-r-----
If "-rw-r-----" is not returned as a result, this is a finding.
M
3461