SV-238337r654186_rule
V-238337
SRG-OS-000205-GPOS-00083
UBTU-20-010416
CAT II
10
Configure the Ubuntu operating system to set permissions of all log files under the "/var/log" directory to 640 or more restricted by using the following command:
$ sudo find /var/log -perm /137 -type f -exec chmod 640 '{}' \;
Verify the Ubuntu operating system has all system log files under the "/var/log" directory with a permission set to 640 or less permissive by using the following command:
$ sudo find /var/log -perm /137 -type f -exec stat -c "%n %a" {} \;
If the command displays any output, this is a finding.
V-238337
False
UBTU-20-010416
Verify the Ubuntu operating system has all system log files under the "/var/log" directory with a permission set to 640 or less permissive by using the following command:
$ sudo find /var/log -perm /137 -type f -exec stat -c "%n %a" {} \;
If the command displays any output, this is a finding.
M
5318