rw01 - Cyber-JL/SEC-350-01 GitHub Wiki

Lab 1.1 Routing and DMZ

  1. First is to make sure that rw01 is set to the right network adapter in this case it should be SEC350-WAN

  2. Next is to login to rw01 as champuser and change its default password using the following command:

    sudo passwd champuser
    
  3. Then add a new sudo user using the command below:

    sudo useradd jude
    sudo passwd jude
    sudo usermod -aG sudo jude
    
  4. Next is to change the hostname of the machine which can be done using the command:

     sudo hostnamectl set-hostname rw01-jude
    
  5. 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:

2023-01-16 14_24_20-VMware Horizon

  1. reboot so that the hostname can take effect

Testing httpd on web01 from rw01

  1. on rw01 go to the network connects panel and add a route:

2023-01-16 15_02_23-VMware Horizon

Lab 2.1 Standardizing on Time

To change the time and date we do the following:

  1. 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
    
  2. To change the formate of the time and date of the syslog edit and comment out the following:

    vi /etc/rsyslog.conf
    

    2023-01-23 14_07_11-VMware Horizon

  3. Then restart rsyslog

      sudo systemctl restart rsyslog
    
  4. Test to see if it worked

2023-01-23 14_10_57-Lindale_Lab 2 1 Standardizing on Time - Google Docs