SV-270769r1066796_rule
V-270769
SRG-OS-000206-GPOS-00084
UBTU-24-700140
CAT II
10
Configure Ubuntu 24.04 LTS to have syslog own the /var/log/syslog file by running the following command:
$ sudo chown syslog /var/log/syslog
Verify that Ubuntu 24.04 LTS configures the /var/log/syslog file to be owned by "syslog" with the following command:
$ stat -c "%n %U" /var/log/syslog
/var/log/syslog syslog
If the "/var/log/syslog" file is not owned by syslog, this is a finding.
V-270769
False
UBTU-24-700140
Verify that Ubuntu 24.04 LTS configures the /var/log/syslog file to be owned by "syslog" with the following command:
$ stat -c "%n %U" /var/log/syslog
/var/log/syslog syslog
If the "/var/log/syslog" file is not owned by syslog, this is a finding.
M
5673