mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 06:22:32 +01:00
no need to cat
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
f905234e7e
commit
e309c7db9d
2 changed files with 1 additions and 2 deletions
|
@ -1 +0,0 @@
|
||||||
.git
|
|
|
@ -48,7 +48,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=`cat /etc/group | grep docker`
|
docker_users=`grep docker /etc/group`
|
||||||
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