diff --git a/bin/v-make-ip-ssl b/bin/v-make-ip-ssl index 47e12b9d4..e0e094faa 100644 --- a/bin/v-make-ip-ssl +++ b/bin/v-make-ip-ssl @@ -9,6 +9,12 @@ # Variable&Function # #----------------------------------------------------------# +whoami=$(whoami) +if [ "$whoami" != "root" ]; then + echo "You must be root to execute this script" + exit 1 +fi + # Argument definition user=$1 domain=$2