summaryrefslogtreecommitdiff
path: root/0044-Disable-anonymous_enable-in-default-config-file.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-15 09:13:36 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-15 09:13:36 +0000
commit87f2d52ac49f8e54d25a6bfcada2747381dcda3c (patch)
tree3700124d2256f460e93567fa6f3cfa6ec0d44787 /0044-Disable-anonymous_enable-in-default-config-file.patch
parent908f6497506278a654656b2ed78b9cf08a892218 (diff)
Diffstat (limited to '0044-Disable-anonymous_enable-in-default-config-file.patch')
-rw-r--r--0044-Disable-anonymous_enable-in-default-config-file.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0044-Disable-anonymous_enable-in-default-config-file.patch b/0044-Disable-anonymous_enable-in-default-config-file.patch
new file mode 100644
index 0000000..4e62d76
--- /dev/null
+++ b/0044-Disable-anonymous_enable-in-default-config-file.patch
@@ -0,0 +1,26 @@
+From ffaeebcfdb56ba75392af21c68c0bac78a226b55 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
+Date: Tue, 2 Jan 2018 09:54:43 +0100
+Subject: [PATCH 44/59] Disable anonymous_enable in default config file
+
+Resolves: rhbz#1338637
+---
+ vsftpd.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/vsftpd.conf b/vsftpd.conf
+index 39d1955..4626c1b 100644
+--- a/vsftpd.conf
++++ b/vsftpd.conf
+@@ -9,7 +9,7 @@
+ # capabilities.
+ #
+ # Allow anonymous FTP? (Beware - allowed by default if you comment this out).
+-anonymous_enable=YES
++anonymous_enable=NO
+ #
+ # Uncomment this to allow local users to log in.
+ # When SELinux is enforcing check for SE bool ftp_home_dir
+--
+2.14.4
+