diff --git a/init/11_new_user.sh b/init/11_new_user.sh index 1bd486e..b5ac305 100644 --- a/init/11_new_user.sh +++ b/init/11_new_user.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ "$(id -u abc)" != "$PUID" ]; then usermod -u "$PUID" abc ; fi +if [ "$(id -u abc)" != "$PUID" ]; then usermod -o -u "$PUID" abc ; fi if [ "$(id -g abc)" != "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi echo "