SV-238342r654201_rule
V-238342
SRG-OS-000206-GPOS-00084
UBTU-20-010421
CAT II
10
Configure the Ubuntu operating system to have syslog own the "/var/log/syslog" file by running the following command:
$ sudo chown syslog /var/log/syslog
Verify that the Ubuntu operating system configures the "/var/log/syslog" file to be owned by syslog with the following command:
$ sudo 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-238342
False
UBTU-20-010421
Verify that the Ubuntu operating system configures the "/var/log/syslog" file to be owned by syslog with the following command:
$ sudo 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
5318