1 Reply Latest reply on Aug 4, 2010 12:15 PM by Bill Robinson

    compliance rule against a master

      is it possible inside a component template, to write a compliance rule that checks if a given file is identical to a golden master?

      i'm trying some compliance against a /etc/nsswitch.conf configuration that reads like

      passwd:     files winbind
      shadow:     files winbind
      group:      files winbind

       

      do i need to write a tedious rule like

      /etc/nsswitch.conf//passwd value1 contains files and

      /etc/nsswitch.conf//passwd value2 contains winbind and

      /etc/nsswitch.conf//shadow value1 contains files and

      /etc/nsswitch.conf//shadow value2 contains winbind and

      /etc/nsswitch.conf//group value1 contains files and

      /etc/nsswitch.conf//group value2 contains winbind

       

      or there a way to compare it to a reference file in one step?