diff --git a/Fedora-37/fedora37_dev_entrypoint.sh b/Fedora-37/fedora37_dev_entrypoint.sh index a482597..ec89fd9 100755 --- a/Fedora-37/fedora37_dev_entrypoint.sh +++ b/Fedora-37/fedora37_dev_entrypoint.sh @@ -39,7 +39,7 @@ user_gid=$(stat -c "%g" "${EDK2_DOCKER_USER_HOME}") groupadd "${EDK2_DOCKER_USER}" -f -o -g "${user_gid}" # # - Add the user. -useradd "${EDK2_DOCKER_USER}" -l -u "${user_uid}" -g "${user_gid}" \ +useradd "${EDK2_DOCKER_USER}" -o -l -u "${user_uid}" -g "${user_gid}" \ -G wheel -d "${EDK2_DOCKER_USER_HOME}" -M -s /bin/bash echo "${EDK2_DOCKER_USER}":tianocore | chpasswd diff --git a/Ubuntu-22/ubuntu22_dev_entrypoint.sh b/Ubuntu-22/ubuntu22_dev_entrypoint.sh index a334c8e..1e1aa7a 100755 --- a/Ubuntu-22/ubuntu22_dev_entrypoint.sh +++ b/Ubuntu-22/ubuntu22_dev_entrypoint.sh @@ -42,7 +42,7 @@ user_gid=$(stat -c "%g" "${EDK2_DOCKER_USER_HOME}") groupadd "${EDK2_DOCKER_USER}" -f -o -g "${user_gid}" # # - Add the user. -useradd "${EDK2_DOCKER_USER}" -l -u "${user_uid}" -g "${user_gid}" \ +useradd "${EDK2_DOCKER_USER}" -o -l -u "${user_uid}" -g "${user_gid}" \ -G sudo -d "${EDK2_DOCKER_USER_HOME}" -M -s /bin/bash echo "${EDK2_DOCKER_USER}":tianocore | chpasswd