mirror of
https://github.com/neingeist/docker-mod-openssh-server-tweaks.git
synced 2025-06-08 03:40:36 +02:00
✨ TWEAK_USERS_GID
This commit is contained in:
parent
10ef3975d1
commit
a1e710380e
1 changed files with 5 additions and 0 deletions
|
@ -11,4 +11,9 @@ if [ -n "$TWEAK_USER_HOME" ]; then
|
||||||
usermod --home "$TWEAK_USER_HOME" "$USER_NAME"
|
usermod --home "$TWEAK_USER_HOME" "$USER_NAME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$TWEAK_USERS_GID" ]; then
|
||||||
|
echo "Setting gid of group users to $TWEAK_USERS_GID"
|
||||||
|
groupmod -g "$TWEAK_USERS_GID" users
|
||||||
|
fi
|
||||||
|
|
||||||
echo "[openssh-server-tweaks] done"
|
echo "[openssh-server-tweaks] done"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue