From cd1016438107d8d5ca418fbf04073c9f652031d1 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Sat, 1 Oct 2011 00:37:27 -0700 Subject: [PATCH] Make a stack user. Fixes #35 --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 29394ab..e99d72c 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 -U -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