Skip to content

Commit d5166bc

Browse files
Merge pull request #113 from rndmh3ro/priv_sep_1804
Add separate PrivilegeSeparation check for Ubuntu 1804
2 parents 728f680 + 9150fcb commit d5166bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/ssh_crypto.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@ def valid_privseparation
198198
when /7\./
199199
ps = ps59
200200
end
201+
when 'ubuntu'
202+
case inspec.os[:release]
203+
when /18\./
204+
ps = ps75
205+
end
201206
when 'alpine'
202207
ps = ps75
203208
end

0 commit comments

Comments
 (0)