Lab 2.1 ‐ Standardizing on Timezone - AinsleyPlayer/SEC-350 GitHub Wiki

For this lab we will be standardizing our timezones across all of our systems for consistency and for things to run and communicate smoothly.

RW01

As shown in the image below, the time zone is set for EST there is no indication of year nor timezone, and if all boxes aren't the same, there will be issues. image

To fix this we will run the command sudo nano /etc/rsyslog.conf and comment out this line using a #. After commenting it out, save it, then restart syslog with the command sudo systemctl restart rsyslog.

image

Deliverable 1

Now make a new log with the command logger -t test whattimeisit and then run the command sudo cat /var/log/syslog | grep whattimeisit

image

We will now do the exact same thing in our web01 and log01 boxes!

Web01

image

Deliverable 2

image

Log01

image

Deliverable 3

image

Deliverable 4

Further information on checking and configuring log files : https://sematext.com/blog/ubuntu-logs/