summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcompose/start.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/compose/start.sh b/compose/start.sh
index 1de83a5c6..fde554fc3 100755
--- a/compose/start.sh
+++ b/compose/start.sh
@@ -6,6 +6,11 @@
# services are up. You will also need these in order to interact with the
# installation once started.
+if [[ $EUID -ne 0 ]]; then
+ echo "You must execute this script as root." 1>&2
+ exit 1
+fi
+
# Set SELinux to permissive
setenforce permissive