From 501f8a9b36d66659866d773d6eb7a6abf7e66579 Mon Sep 17 00:00:00 2001 From: Angristan Date: Mon, 12 Feb 2018 16:07:37 +0100 Subject: [PATCH] Use a different client name for new users Just in case the user keeps the default "client" username when installing, reusing "client" will fail. A tiny commit for lazy users. --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 4e9f91d..6371602 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -112,7 +112,7 @@ if [[ -e /etc/openvpn/server.conf ]]; then echo "" echo "Tell me a name for the client cert" echo "Please, use one word only, no special characters" - read -p "Client name: " -e -i client CLIENT + read -p "Client name: " -e -i newclient CLIENT cd /etc/openvpn/easy-rsa/ ./easyrsa build-client-full $CLIENT nopass # Generates the custom client.ovpn