Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-14174

sshd service might not be reloading properly, or there could be an issue with the grading system's expectations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • RH124 - RHEL9.3-en-1-20240717
    • RH124
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh124-9.3/pages/ch15s04
      Reporter RHNID: shasingh01
      Section Title:

      Lab: Configure and Manage a Server                                                                       

      Issue description

      Description: In the lab grading process for rhcsa-rh124-review3, the configurations for PermitRootLogin and PasswordAuthentication are correctly set in /etc/ssh/sshd_config, as confirmed by running grep on the file. However, the lab grading system fails the checks for both root login and password authentication settings, returning a 255 exit code instead of the expected 0.

      Despite the correct settings, it seems that the sshd service might not be reloading properly, or there could be an issue with the grading system's expectations. Further investigation is needed to determine whether this is a configuration issue or a lab environment bug.

       

      Steps to reproduce:

      • Set PermitRootLogin no and PasswordAuthentication no in /etc/ssh/sshd_config.
      • Reload the sshd service using systemctl reload sshd.
      • Run the lab grading command: lab grade rhcsa-rh124-review3.
      • Observe that the evaluation fails with the exit code 255, despite correct configurations.

      Workaround:

       

      Expected result:

       

              glsbugs-hybridcloud@redhat.com PTL - RHEL Team
              shasingh01 Shashi Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: