Skip to content

Commit

Permalink
fix #21 adding another user failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
neousys committed Oct 13, 2022
1 parent 44c766f commit 05ab4ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/docker_adduser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# 添加用户和组权限,配置超级用户

deluser zs
addgroup --gid "$DOCKER_GRP_ID" "$DOCKER_GRP"
adduser --disabled-password --force-badname --gecos '' "$DOCKER_USER" \
--uid "$DOCKER_USER_ID" --gid "$DOCKER_GRP_ID" 2>/dev/null
Expand Down

0 comments on commit 05ab4ec

Please sign in to comment.