Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-41195

remediation is NOT returned after changing mode for /etc/ssh/sshd_config

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • insights-client
    • None
    • None
    • None
    • rhel-sst-csi-client-tools
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      Description of Problem:

      Remediation is NOT returned after changing mode for /etc/ssh/sshd_config

      Please provide the package NVR for which bug is seen:

      insights-client-3.2.2-3.el9.noarch

      How reproducible

      Always

      Is this a regression issue:

      ( Yes/No) 

      Steps to Reproduce

      • Register RHEL-9.5.0-20240519.9 against Satellite613:

      [root@s390x-kvm-047 integration-tests]# subscription-manager register --activationkey="everything-ak" --org="INSIGHTS_QA_6089719_REM"

      [root@s390x-kvm-047 integration-tests]# insights-client --version

      Client: 3.2.2

      Core: 3.3.26-1

      •  
      • Register insights:

      [root@s390x-kvm-047 integration-tests]# insights-client --register

      Successfully registered host s390x-kvm-047.lab.eng.rdu2.redhat.com

      Automatic scheduling for Insights has been enabled.

      Starting to collect Insights data for s390x-kvm-047.lab.eng.rdu2.redhat.com

      Writing RHSM facts to /etc/rhsm/facts/insights-client.facts ...

      Uploading Insights data.

      Successfully uploaded report from s390x-kvm-047.lab.eng.rdu2.redhat.com to account 6089719.

      View the Red Hat Insights console at https://console.redhat.com/insights/

       

      • Change mode for /etc/ssh/sshd_config, and check related remediation:
      •  

      [root@s390x-kvm-047 integration-tests]# ls -l /etc/ssh/sshd_config

      rw------. 1 root root 3637 Jun 11 03:51 /etc/ssh/sshd_config

      [root@s390x-kvm-047 integration-tests]# chmod 777 /etc/ssh/sshd_config

      [root@s390x-kvm-047 integration-tests]# ls -l /etc/ssh/sshd_config

      -rwxrwxrwx. 1 root root 3637 Jun 11 03:51 /etc/ssh/sshd_config

       

      [root@s390x-kvm-047 integration-tests]# insights-client --check-results

       

      [root@s390x-kvm-047 integration-tests]# insights-client --show-results

      []

      Actual Behavior

      As step 3, there is no remediation returned from server.

      Expected Behavior

      A remediation should notice customer the /etc/ssh/sshd_config is not in proper permission

      Additional info

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              redakkan@redhat.com Rehana Raj Edakandiyil
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: