add user sneak to sudoers

This commit is contained in:
Jeffrey Paul 2018-03-06 17:10:39 -05:00
parent 7d8dd45d54
commit cccf7fabbf
1 changed files with 1 additions and 0 deletions

View File

@ -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: