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

RH124v9.3 : ch15s04 : lab grading has a bug with sshd conf in the sshd_config.d dir

XMLWordPrintable

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

      None

      Show
      None
    • False
    • 15
    • ROLE
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh124-9.3/pages/ch15s04
      Reporter RHNID: chetan-rhls
      Section Title:       h2. Lab: Configure and Manage a Server                                                                 

      Issue description:  When you set the PermitRootLogin parameter to no  and PasswordAuthentication parameter to no in the /etc/ssh/sshd_config file , the first one is graded PASS but the second one ( Password Authentcation no ) fails because we have a conf file inside /etc/ssh/sshd_config.d/50-cloud-init.conf   which overwrites it to yes.

       

      Steps to reproduce:

       

      Workaround: After setting the entries in the sshd_config file , also comment out the entry in the /etc/ssh/sshd_config.d/50-cloud-init.conf file and then do lab grading - it will pass. see pinned comment.

       

      Expected result:

              alingaya@redhat.com Ashish Lingayat
              chetan-rhls Chetan Tiwary
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: