From 39b70e989fc6f3101169582433830d96e2c49218 Mon Sep 17 00:00:00 2001 From: David Blacka Date: Sat, 25 Feb 2023 19:35:27 -0500 Subject: [PATCH] add setup.sh --- setup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..fe5c1e5 --- /dev/null +++ b/setup.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +if [ "$EUID" -ne 0 ]; then + echo "Must run as root" + exit 1 +fi + +groupadd -f -g 105 bind +useradd -u 104 -g 105 -M --no-log-init bind