Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-15690

Hostname and other attributes of a Ubuntu 20.04.6 LTS host have the prefix [A[C[C[C[C[C[C[ added when using auto sudo.

      Issue Summary

      Hostname and other attributes of a Ubuntu 20.04.6 LTS host have the prefix [A[C[C[C[C[C[C[ added when using auto sudo.

      Steps to Reproduce

      1. Enable auto-sudo in the Discovery common settings tab.
      2. Run the scan on a Ubuntu 20.x

      Expected Results

      Discovery should parse the output to include in the XML result file.

      Actual Results

      The below is added to the results (snippet from the result XML file):

      <Hostname>[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K']0;CORP\sshq00assetsdiscover@hostname: ~CORP\sshq00assetsdiscover@hostname:~$ hostname]0;CORP\sshq00assetsdiscover@hostname: ~CORP\sshq00assetsdiscover@hostname:~$</Hostname>
      
      <SystemUpTime>0d 2h 0m</SystemUpTime>
      
      <Vendor>[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K'
      ]0;CORP\sshq00assetsdiscover@hostname: ~CORP\sshq00assetsdiscover@hostname:~$ 
      VMware, Inc.
      ]0;CORP\sshq00assetsdiscover@hostname: ~CORP\sshq00assetsdiscover@hostname:~$</Vendor>
      
      <SystemUpTimeMinutes>120</SystemUpTimeMinutes>
      
      <RAM>0</RAM>
      

      Workaround

      Disabling auto-sudo in the DIscovery tool common settings tab.

      Versions Tested

      Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below: 

      Testing Requirements Version Affected Version
      Customers Reported Version 7.0.5 Yes
      Most Recent Bug-Fix Release 7.0.5 Yes
      Other Versions..    
      (Add rows as needed)    

            [JSDSERVER-15690] Hostname and other attributes of a Ubuntu 20.04.6 LTS host have the prefix [A[C[C[C[C[C[C[ added when using auto sudo.

            Zakhar Listiev made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Zakhar Listiev made changes -
            Fix Version/s New: Discovery 7.1.2 [ 111495 ]
            Zakhar Listiev made changes -
            Status Original: In Review [ 10051 ] New: Waiting for Release [ 12075 ]
            Zakhar Listiev made changes -
            Status Original: In Progress [ 3 ] New: In Review [ 10051 ]
            Zakhar Listiev made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            Nicole Reichert (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 986100 ]
            Zakhar Listiev made changes -
            Status Original: In Progress [ 3 ] New: Gathering Impact [ 12072 ]
            Zakhar Listiev made changes -
            Assignee New: Zakhar Listiev [ 11507b174037 ]
            Zakhar Listiev made changes -
            Status Original: Short Term Backlog [ 12074 ] New: In Progress [ 3 ]
            SET Analytics Bot made changes -
            Support reference count New: 1

              11507b174037 Zakhar Listiev
              7e87200788f9 Hugo Fernandes
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: