From 748cfb26c81bd27f57a14fb2100ef463426c28f1 Mon Sep 17 00:00:00 2001 From: imjoseangel Date: Mon, 29 Jun 2020 23:12:56 +0200 Subject: [PATCH] Adds exclamation and asterisk as requested Signed-off-by: imjoseangel --- controls/os_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/os_spec.rb b/controls/os_spec.rb index 5cb5df3..f58d69e 100644 --- a/controls/os_spec.rb +++ b/controls/os_spec.rb @@ -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