4.2.1.2 Ensure rsyslog service is enabled and running

Information

Once the rsyslog package is installed, ensure that the service is enabled.

Rationale:

If the rsyslog service is not enabled to start on boot, the system will not capture logging events.

Solution

Run the following command to enable rsyslog:

# systemctl --now enable rsyslog

See Also

https://workbench.cisecurity.org/files/2925