mirror of
https://github.com/dev-sec/linux-baseline
synced 2025-02-18 02:38:24 +00:00
Adds exclamation and asterisk as requested
Signed-off-by: imjoseangel <josea.munoz@gmail.com>
This commit is contained in:
parent
3645c40723
commit
748cfb26c8
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ control 'os-03b' do
|
||||||
title 'Check passwords hashes in /etc/passwd'
|
title 'Check passwords hashes in /etc/passwd'
|
||||||
desc 'Check periodically that /etc/passwd does not contain passwords'
|
desc 'Check periodically that /etc/passwd does not contain passwords'
|
||||||
describe passwd do
|
describe passwd do
|
||||||
its('passwords') { should be_in ['x'] }
|
its('passwords') { should be_in ['x', '*', '!'] }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue