Chapter 25. System Logging

These labs should be performed on the CentOS operating system that you installed in Chapter 1, “Distributions and Key Components.” Before you begin this lab, log in to the student account that you created during the installation process.

Lab 25.1 Managing Log Files

Scenario: Modify the CentOS system so the following log events take place:

  • All cron messages of debug level only should be sent to the /var/log/cron.debug file.

  • All messages from the local3 service should be sent to the root user’s terminal.

Verify that these changes have taken place correctly.

                                       

                                       

                                       

                                       

Get Linux Essentials for Cybersecurity Lab Manual, First Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.