We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a5383 commit 29211f2Copy full SHA for 29211f2
controls/os_spec.rb
@@ -341,3 +341,17 @@
341
its('content') { should_not match(/^[+-]/) }
342
end
343
344
+
345
+control 'os-18' do
346
+ impact 1.0
347
+ title 'Users and groups should be unique'
348
+ desc 'In order to avoid confusion or identity theft, every group and user should be unique'
349
+ describe passwd do
350
+ its('users') { should_not contain_duplicates }
351
+ its('uids') { should_not contain_duplicates }
352
+ end
353
+ describe etc_group do
354
+ its('groups') { should_not contain_duplicates }
355
+ its('gids') { should_not contain_duplicates }
356
357
+end
0 commit comments