From c3f05de602e7570aa8f68fbcf49ae30079c6d889 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 24 Apr 2021 02:56:48 -0400 Subject: [PATCH] Update setup.sh --- bin/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/setup.sh b/bin/setup.sh index 2b3f39ff..c54a3bee 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -10,9 +10,11 @@ if [ $(id -u) -eq 0 ]; then echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability." echo " Create a new non-privileged user 'archivebox' if necessary. Instructions for Ubuntu/Debian:" echo " https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-20-04-quickstart" - echo " adduser -G sudo archivebox" + echo " adduser archivebox" + echo " usermod -a archivebox -G sudo" echo " su archivebox" echo " Then re-run this script as the non-root user." + echo "" exit 2 fi