Check for root privilege in start.sh
Change-Id: I38f6cf133b0ebf59a9595fb62868a81f731a0b85
This commit is contained in:
parent
ac17371249
commit
0dc0cf1b9e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user