add setup.sh

This commit is contained in:
David Blacka 2023-02-25 19:35:27 -05:00
parent ebbf15d452
commit 39b70e989f
1 changed files with 9 additions and 0 deletions

9
setup.sh Executable file
View File

@ -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