From 9649c5898e664ff7ac56fddedfcb6c8a91c4f47c Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Wed, 8 Jul 2015 22:14:21 +0200 Subject: [PATCH] Allowing root as abc --- init/11_new_user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "