Browse code

specify the sudo group as addition groups - since otherwise dashboard doesn't work

Jesse Andrews authored on 2011/10/02 04:52:23
Showing 1 changed files
... ...
@@ -44,7 +44,7 @@ if [[ $EUID -eq 0 ]]; then
44 44
    apt-get install -y sudo
45 45
    if ! getent passwd | grep -q stack; then
46 46
        echo "Creating a user called stack"
47
-       useradd -g sudo -s /bin/bash -m stack
47
+       useradd -G sudo -s /bin/bash -m stack
48 48
     fi
49 49
     echo "Making sure stack has passwordless sudo"
50 50
     sed -i "/^%sudo/ { / ALL/ { s/ ALL/ NOPASSWD:ALL/ }}" /etc/sudoers