merge vish/master
This commit is contained in:
commit
e19f565b32
1 changed files with 1 additions and 1 deletions
2
stack.sh
2
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
|
||||
|
|
Loading…
Reference in a new issue