SV-260588r991562_rule
V-260588
SRG-OS-000269-GPOS-00103
UBTU-22-652010
CAT II
10
Install the log service by using the following command:
$ sudo apt-get install rsyslog
Enable and activate the log service by using the following command:
$ sudo systemctl enable rsyslog.service --now
Verify the log service is installed properly by using the following command:
$ dpkg -l | grep rsyslog
ii rsyslog 8.2112.0-2ubuntu2.2 amd64 reliable system and kernel logging daemon
If the "rsyslog" package is not installed, this is a finding.
Check that the log service is enabled and active by using the following commands:
$ systemctl is-enabled rsyslog.service
enabled
$ systemctl is-active rsyslog.service
active
If "rsyslog.service" is not enabled and active, this is a finding.
V-260588
False
UBTU-22-652010
Verify the log service is installed properly by using the following command:
$ dpkg -l | grep rsyslog
ii rsyslog 8.2112.0-2ubuntu2.2 amd64 reliable system and kernel logging daemon
If the "rsyslog" package is not installed, this is a finding.
Check that the log service is enabled and active by using the following commands:
$ systemctl is-enabled rsyslog.service
enabled
$ systemctl is-active rsyslog.service
active
If "rsyslog.service" is not enabled and active, this is a finding.
M
5594