SV-270767r1066790_rule
V-270767
SRG-OS-000206-GPOS-00084
UBTU-24-700120
CAT II
10
Configure Ubuntu 24.04 LTS to have permissions of "0755" for the /var/log directory by running the following command:
$ sudo chmod 0755 /var/log
Note: If rsyslog is active and enabled on Ubuntu 24.04 LTS, this requirement is not applicable.
Verify Ubuntu 24.04 LTS configures the /var/log directory with a mode of "755" or less permissive with the following command:
$ stat -c "%n %a" /var/log
/var/log 755
If a value of "755" or less permissive is not returned, this is a finding.
V-270767
False
UBTU-24-700120
Note: If rsyslog is active and enabled on Ubuntu 24.04 LTS, this requirement is not applicable.
Verify Ubuntu 24.04 LTS configures the /var/log directory with a mode of "755" or less permissive with the following command:
$ stat -c "%n %a" /var/log
/var/log 755
If a value of "755" or less permissive is not returned, this is a finding.
M
5673