4.2.2.1 Ensure syslog-ng service is enabled (Scored)

Level 1 - Server 
Level 1 - Workstation

Once the syslog-ng package is installed it needs to be activated.

If the syslog-ng service is not activated the system may default to the syslogd service or lack logging instead.

Run the following command to verify syslog-ng is enabled:

# systemctl is-enabled syslog-ng 
enabled

Verify result is “enabled”.

Run the following command to enable syslog-ng:

# update-rc.d syslog-ng enable
  • ubuntu1604/4/2/2/1.txt
  • Last modified: 2017/05/03 00:49
  • by 127.0.0.1