mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 10:50:16 +00:00
chg: openvpn-user home, shell.
Signed-off-by: corbolais <corbolais@gmail.com>
This commit is contained in:
parent
6e763e0240
commit
1aa6472b72
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue