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
Reviewed: https:/ /review. openstack. org/481226 /git.openstack. org/cgit/ openstack/ ansible- hardening/ commit/ ?id=e112b92c64e ddcf699ca452474 fc19730e63104e
Committed: https:/
Submitter: Jenkins
Branch: master
commit e112b92c64eddcf 699ca452474fc19 730e63104e
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 838acd2edb02d48 dda174410be
Change-Id: Iaf6e388cff1243