From 022ed04ea010ddf42c83be6f1d595af36a2a7156 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Sat, 1 Oct 2011 12:52:23 -0700 Subject: [PATCH] specify the sudo group as addition groups - since otherwise dashboard doesn't work --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 29394ab..4aed775 100755 --- a/stack.sh +++ b/stack.sh @@ -44,7 +44,7 @@ if [[ $EUID -eq 0 ]]; then apt-get install -y sudo if ! getent passwd | grep -q stack; then echo "Creating a user called stack" - useradd -g sudo -s /bin/bash -m stack + useradd -G sudo -s /bin/bash -m stack fi echo "Making sure stack has passwordless sudo" sed -i "/^%sudo/ { / ALL/ { s/ ALL/ NOPASSWD:ALL/ }}" /etc/sudoers