<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/4/13 8:50 AM, <a class="moz-txt-link-abbreviated" href="mailto:fcaviggi@redhat.com">fcaviggi@redhat.com</a>
      wrote:<br>
    </div>
    <blockquote cite="mid:524EB98F.7040007@redhat.com" type="cite"><br>
      I was thinking this trough last night - I was wondering if we can
      use checksums (sha256+) to determine if someone is using the
      "stock" configuration and replace it with a fully STIGed version -
      I'm thinking this would be best applicable to new installations of
      RHEL. I understand the need for  atomic fixes for pre-existing
      systems, where the SA has modified the defaults, but I can
      guarantee you that most people just want a STIG'ed box out of the
      gate on install. I'm just trying to think in terms of long term
      and short term goals - the quicker we can satisfy the majority of
      the users (the ones that want something STIG'ed out of the box)
      the better acceptance the product will have, the long term should
      be to modify things for the people that mucked with their
      configurations, which I'm arguing is a minority.<br>
       <br>
      I go back to Star Trek II: Wrath of Khan with Spock, "It is
      logical. The needs of the many outweigh<a moz-do-not-send="true"
        href="http://www.imdb.com/name/nm0000638/?ref_=tt_trv_qu"><span
          class="character"></span></a>...the needs of the few<a
        moz-do-not-send="true"
        href="http://www.imdb.com/name/nm0000559/?ref_=tt_trv_qu"><span
          class="character"></span></a>...or the one."  We need to get
      the ship out of danger, and then worry about the needs of the few.<br>
      <br>
      What do you think of my solution?</blockquote>
    <br>
    Something like this?<br>
    <br>
    if rpm -V audit<br>
        cp /usr/share/doc/audit-*/stig.rules /etc/audit.rules<br>
    else<br>
        if audit rule misconfigured<br>
            sed fix<br>
        else<br>
            echo audit_rule &gt;&gt; /etc/audit.rules<br>
        fi<br>
    fi<br>
    <br>
    I'm not particularly opposed. We'll want to ensure that the
    /usr/share/doc/audit-*/stig.rules file meets the STIG/SSG needs (and
    if not, submit RFEs). It'd be great if we could template these
    somehow.<br>
  </body>
</html>