File: 0040-disable-anonymous.patch

package info (click to toggle)
vsftpd 3.0.5-0.2
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 2,636 kB
  • sloc: ansic: 16,810; sh: 251; makefile: 51; python: 18
file content (62 lines) | stat: -rw-r--r-- 1,935 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Description: disable anonymous login
Origin: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/utopic/vsftpd/utopic/view/head:/debian/patches/ubuntu-disable-anonymous.patch
Forwarded: not-needed
Last-Update: 2014-10-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/vsftpd.conf
===================================================================
--- trunk.orig/vsftpd.conf
+++ trunk/vsftpd.conf
@@ -21,11 +21,11 @@ listen=NO
 # files.
 listen_ipv6=YES
 #
-# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
-anonymous_enable=YES
+# Allow anonymous FTP? (Disabled by default).
+anonymous_enable=NO
 #
 # Uncomment this to allow local users to log in.
-#local_enable=YES
+local_enable=YES
 #
 # Uncomment this to enable any form of FTP write command.
 #write_enable=YES
Index: trunk/vsftpd.conf.5
===================================================================
--- trunk.orig/vsftpd.conf.5
+++ trunk/vsftpd.conf.5
@@ -84,7 +84,7 @@ and
 .BR anonymous
 are recognised as anonymous logins.
 
-Default: YES
+Default: NO
 .TP
 .B ascii_download_enable
 When enabled, ASCII mode data transfers will be honoured on downloads.
Index: trunk/EXAMPLE/INTERNET_SITE/vsftpd.conf
===================================================================
--- trunk.orig/EXAMPLE/INTERNET_SITE/vsftpd.conf
+++ trunk/EXAMPLE/INTERNET_SITE/vsftpd.conf
@@ -1,5 +1,5 @@
 # Access rights
-anonymous_enable=YES
+anonymous_enable=NO
 local_enable=NO
 write_enable=NO
 anon_upload_enable=NO
Index: trunk/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf
===================================================================
--- trunk.orig/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf
+++ trunk/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf
@@ -3,7 +3,7 @@ listen=YES
 max_clients=200
 max_per_ip=4
 # Access rights
-anonymous_enable=YES
+anonymous_enable=NO
 local_enable=NO
 write_enable=NO
 anon_upload_enable=NO