From 1aa6472b726e579e48cba2196f535ceda7e2ad32 Mon Sep 17 00:00:00 2001 From: corbolais Date: Sun, 8 Dec 2019 17:40:30 +0100 Subject: [PATCH] chg: openvpn-user home, shell. Signed-off-by: corbolais --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index e5d6bbb..1d02f7c 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -1294,7 +1294,7 @@ set_var EASYRSA_KEY_SIZE ${pivpnENCRYPT}" | $SUDO tee vars >/dev/null ${SUDOE} cp pki/crl.pem /etc/openvpn/crl.pem if test "${PLAT}" = "Debian"; then if ! getent passwd openvpn; then - ${SUDOE} adduser --system --home /etc/openvpn/ --no-create-home --group ${debianOvpnUserGroup%:*} + ${SUDOE} adduser --system --home /var/lib/openvpn/ --no-create-home --group --disabled-login ${debianOvpnUserGroup%:*} fi ${SUDOE} chown "$debianOvpnUserGroup" /etc/openvpn/crl.pem else