diff options
Diffstat (limited to 'scripts/provision-root.sh')
-rw-r--r-- | scripts/provision-root.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/provision-root.sh b/scripts/provision-root.sh index 224a6f1..4cd8d17 100644 --- a/scripts/provision-root.sh +++ b/scripts/provision-root.sh @@ -4,9 +4,11 @@ set -xe export DEBIAN_FRONTEND=noninteractive -apt-get update -apt-get upgrade -y - apt-get install -y git curl xz-utils sudo ssh +useradd compromyse -G sudo -p changeme -s /bin/bash +mkdir /home/compromyse +cp -rT /etc/skel /home/compromyse +chown -R compromyse:compromyse /home/compromyse +echo "compromyse ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers unset DEBIAN_FRONTEND |