1
0
Fork 0

Update setup.sh

This commit is contained in:
Nick Sweeting 2021-04-24 02:56:48 -04:00 committed by GitHub
parent 8ba567ef09
commit c3f05de602
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 "[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 " 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 " 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 " su archivebox"
echo " Then re-run this script as the non-root user." echo " Then re-run this script as the non-root user."
echo ""
exit 2 exit 2
fi fi