commit | 6e9fae0d27b110f6b29a8962e2dfb14fb28651a5 | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Sun Oct 02 08:48:34 2011 -0700 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Sun Oct 02 08:48:34 2011 -0700 |
tree | bf5147e43743f22b24a7c45d9103f0ed232853e9 | |
parent | e19f565b32254a5e556f633dac7734fb0d2a8060 [diff] [blame] |
fixing stack's passwdless sudo
diff --git a/stack.sh b/stack.sh index e99d72c..2e87352 100755 --- a/stack.sh +++ b/stack.sh
@@ -47,7 +47,7 @@ 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 + echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers echo "Copying files to stack user" cp -r -f `pwd` /home/stack/ THIS_DIR=$(basename $(dirname $(readlink -f $0)))