mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 14:22:33 +01:00
Merge pull request #106 from andreasstieger/check-remote-users
Support remote users and groups for group check. Fixes #104
This commit is contained in:
commit
574648bf56
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ fi
|
||||||
|
|
||||||
# 1.7
|
# 1.7
|
||||||
check_1_7="1.7 - Only allow trusted users to control Docker daemon"
|
check_1_7="1.7 - Only allow trusted users to control Docker daemon"
|
||||||
docker_users=$(grep docker /etc/group)
|
docker_users=$(getent group docker)
|
||||||
info "$check_1_7"
|
info "$check_1_7"
|
||||||
for u in $docker_users; do
|
for u in $docker_users; do
|
||||||
info " * $u"
|
info " * $u"
|
||||||
|
|
Loading…
Reference in a new issue