Skip to content

Commit

Permalink
Change regex to allow multiple spaces. (#35)
Browse files Browse the repository at this point in the history
HardeningFramework-DCO-1.1-Signed-off-by: Tim Stoop <github@timstoop.nl> (github: timstoop)
  • Loading branch information
timstoop authored and chris-rock committed Jun 8, 2018
1 parent 3a4252e commit ed9c8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/5_4_user_accounts_and_environments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,6 @@
tag level: 1

describe file('/etc/pam.d/su') do
its(:content) { should match(/^auth required pam_wheel.so use_uid$/) }
its(:content) { should match(/^auth\s+required\s+pam_wheel.so use_uid$/) }
end
end

0 comments on commit ed9c8c6

Please sign in to comment.