title: Bash script sshd group check
body: <p>hello I have script written in python. This script is saving results output of bash script modules. I have to written module that check that are user in 
  cat /etc/group |grep sshd and write in excel
  in group 203. When i execute command command in host i recveive output</p>
  
  <pre><code>staff:!:,sshd,sosnix,xo29321,siwja8211,293912,29314
  sshd:!:203:sshd
  </code></pre>
  
  <p>In this module "compilant" and "actual_value" this is row's from excel</p>
  
  <p>My code of module</p>
  
  <pre><code>    module_id="XX.TEST"
  echo " === $module_id module === "
  
  command_output=`cat /etc/group |grep sshd`
  
  if [ "$command_output" = "cat /etc/group |grep sshd" ]; then
      compliant="Yes"
      actual_value="GUID 203"
  else
      compliant="No"
      actual_value="N/A"
  fi
  
  # SCRIPT RESULT
  echo :::$module_id:::$compliant:::$actual_value:::
  echo " === End of $module_id module === "
  </code></pre>
  
  <p>and this script write in my excel result No In compilant and N/A in actual value</p>