Skip to content

Commit

Permalink
Specify /bin/bash shell in useradd (#1980)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Aug 25, 2023
1 parent 2aa9e0f commit 44f9962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/docker-stacks-foundation/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if [ "$(id -u)" == 0 ] ; then
fi
# Recreate the desired user as we want it
userdel "${NB_USER}"
useradd --no-log-init --home "/home/${NB_USER}" --uid "${NB_UID}" --gid "${NB_GID}" --groups 100 "${NB_USER}"
useradd --no-log-init --home "/home/${NB_USER}" --shell /bin/bash --uid "${NB_UID}" --gid "${NB_GID}" --groups 100 "${NB_USER}"
fi

# Move or symlink the jovyan home directory to the desired users home
Expand Down

0 comments on commit 44f9962

Please sign in to comment.