Merge pull request #106 from andreasstieger/check-remote-users

Support remote users and groups for group check. Fixes #104
This commit is contained in:
Thomas Sjögren 2015-12-07 19:02:19 +01:00
commit 574648bf56

View file

@ -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"