Lab 2.1: Standardizing on Timezone

Summary:

During this lab we standardized the log timing between Rw01, Web01, and Log01

Steps:

Debian Based:

Edit the rsyslog.conf file sudo nano /etc/rsyslog.conf

  • Comment out the line that is underlined below.

Now restart rsyslog.service

sudo systemctl restart rsyslog.service 

Now do a logger test

logger -t test whattimeisit2
sudo cat /var/log/syslog | grep whattimeisit

Redhat Based:

Edit the rsyslog.conf file sudo nano /etc/rsyslog.conf

  • Comment out the line that is underlined below.

Now restart rsyslog.service

sudo systemctl restart rsyslog.service 

Now do a logger test

logger -t test time2onweb01
sudo cat /var/log/messages | grep time2onweb01

Notes:

Compliance list: https://www.unifiedcompliance.com/products/search-controls/control/01336/