diff --git a/cloud-init.sh b/cloud-init.sh index fe2f286..7513dd4 100644 --- a/cloud-init.sh +++ b/cloud-init.sh @@ -16,6 +16,7 @@ apt-get -y install vim byobu screen build-essential git mosh bash-completion if [[ ! -d /home/sneak ]]; then useradd -m -s /bin/bash sneak usermod -a -G sudo sneak + echo "sneak ALL=NOPASSWD:ALL" > /etc/sudoers.d/sneak fi # run the rest as sneak: