Adds exclamation and asterisk as requested

Signed-off-by: imjoseangel <josea.munoz@gmail.com>
This commit is contained in:
imjoseangel 2020-06-29 23:12:56 +02:00
parent 3645c40723
commit 748cfb26c8

View file

@ -104,7 +104,7 @@ control 'os-03b' do
title 'Check passwords hashes in /etc/passwd'
desc 'Check periodically that /etc/passwd does not contain passwords'
describe passwd do
its('passwords') { should be_in ['x'] }
its('passwords') { should be_in ['x', '*', '!'] }
end
end