From 3bfd4a1ff8d2159f71456b16c337556066fa46d8 Mon Sep 17 00:00:00 2001 From: Mohammad Parvin Date: Sun, 12 Sep 2021 15:55:21 +0430 Subject: [PATCH] add random password suggestion --- openvpn-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index a31713a..5260077 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1089,7 +1089,10 @@ function newClient() { ./easyrsa build-client-full "$CLIENT" nopass ;; 2) - echo "⚠️ You will be asked for the client password below ⚠️" + echo -e "\n\n⚠️ You will be asked for the client password below ⚠️" + echo "this is a random password generated" + echo `openssl rand -base64 $(shuf -i13-17 -n1) || tr -dc A-Za-z0-9