Browse Source

Update setup.sh

Nick Sweeting 4 years ago
parent
commit
c3f05de602
1 changed files with 3 additions and 1 deletions
  1. 3 1
      bin/setup.sh

+ 3 - 1
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