From b0142a1c3bff2371323734bb16ab5bcf4a518082 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Mon, 6 Feb 2023 15:39:32 -0500 Subject: [PATCH] fix for provision-server --- provision-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provision-server.sh b/provision-server.sh index a40482c..034735e 100755 --- a/provision-server.sh +++ b/provision-server.sh @@ -13,7 +13,7 @@ PATCH=`echo $VERSION | cut -d . -f 3` sudo apt update # create a (non-privileged) user to run the server: -sudo useradd nanosoldier || true +sudo useradd -m nanosoldier || true sudo usermod -aG nanosoldier `whoami` echo "`whoami` ALL= (nanosoldier) NOPASSWD: ALL Defaults> nanosoldier umask=0777" | sudo tee -a /etc/sudoers.d/99-nanosoldier