|
|
@@ -14,4 +14,12 @@ $BIN/v-update-web-templates
|
|
|
echo "[ ! ] Updating default mail domain templates..."
|
|
|
$BIN/v-update-mail-templates
|
|
|
echo "[ ! ] Updating default DNS zone templates..."
|
|
|
-$BIN/v-update-dns-templates
|
|
|
+$BIN/v-update-dns-templates
|
|
|
+
|
|
|
+# Enhance Vsftpd security
|
|
|
+if [ "$FTP_SYSTEM" = "vsftpd" ]; then
|
|
|
+ echo "[ ! ] Hardening Vsftpd TLS configuration..."
|
|
|
+ cp -f /etc/vsftpd.conf $HESTIA_BACKUP/conf/
|
|
|
+ cp -f $HESTIA_INSTALL_DIR/vsftpd/vsftpd.conf /etc/
|
|
|
+ chmod 644 /etc/vsftpd.conf
|
|
|
+fi
|