Comment 9 for bug 1702182

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-hardening (master)

Reviewed: https://review.openstack.org/481226
Committed: https://git.openstack.org/cgit/openstack/ansible-hardening/commit/?id=e112b92c64eddcf699ca452474fc19730e63104e
Submitter: Jenkins
Branch: master

commit e112b92c64eddcf699ca452474fc19730e63104e
Author: Major Hayden <email address hidden>
Date: Mon Jul 10 09:39:59 2017 -0500

    Fix grep for sudoers w/o password

    The grep task that looks for sudoers that have the NOPASSWD option
    had false positives when the line began with a space or comment
    character. This patch fixes the regex to account for those.

    Closes-Bug: 1702182
    Change-Id: Iaf6e388cff1243838acd2edb02d48dda174410be