mirror of
https://github.com/inspec/inspec
synced 2024-12-24 20:13:16 +00:00
c2a65942d9
* Add support for Darwin Directory Service groups This allows users to verify groups added by Chef on OS X. The current method that `UnixGroup` uses is to check the contents of `/etc/group`, but OS X adds groups to Directory Service and not `/etc/group`. This modifies the `group` resource on Darwin to use `dscacheutil` to get group info. Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Clean up `select_group_manager` Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Clean up DarwinGroup `groups` method Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
8 lines
83 B
Text
8 lines
83 B
Text
name: humans
|
|
password: *
|
|
gid: 81
|
|
users: bob sue joe
|
|
|
|
name: root
|
|
password: *
|
|
gid: 0
|