rw01 - Cyber-JL/SEC-350-01 GitHub Wiki
Lab 1.1 Routing and DMZ
-
First is to make sure that rw01 is set to the right network adapter in this case it should be SEC350-WAN
-
Next is to login to rw01 as champuser and change its default password using the following command:
sudo passwd champuser
-
Then add a new sudo user using the command below:
sudo useradd jude sudo passwd jude sudo usermod -aG sudo jude
-
Next is to change the hostname of the machine which can be done using the command:
sudo hostnamectl set-hostname rw01-jude
-
The last step is to make sure the the machine has its assigned static ip which can be down via the gui or
nmtui
it should look similar to the following:
- reboot so that the hostname can take effect
Testing httpd on web01 from rw01
- on rw01 go to the network connects panel and add a route:
Lab 2.1 Standardizing on Time
To change the time and date we do the following:
-
check the current time and data formate by running
this will how the time and date formate of the machine
date
this will show the time and date formate of syslogs
logger -t test whattimeisit sudo cat /var/log/syslog | grep whattimneisit
-
To change the formate of the time and date of the syslog edit and comment out the following:
vi /etc/rsyslog.conf
-
Then restart rsyslog
sudo systemctl restart rsyslog
-
Test to see if it worked