diff --git a/install/common.sh b/install/common.sh index 5ce87ee..70c1e38 100755 --- a/install/common.sh +++ b/install/common.sh @@ -2,6 +2,14 @@ set -e +if [ "$(id -u)" = "0" ]; then + echo "You probably don't want to run this as root!" + echo "Do this first:" + echo "adduser caspervk" + echo "adduser caspervk sudo" + exit 1 +fi + # Packages sudo apt update sudo apt upgrade