SHA256
1
0
forked from pool/vsftpd
vsftpd/vsftpd-2.0.4-xinetd.diff

36 lines
1.3 KiB
Diff

Index: xinetd.d/vsftpd
===================================================================
--- xinetd.d/vsftpd.orig 2008-02-02 02:30:40.000000000 +0100
+++ xinetd.d/vsftpd 2010-08-10 06:51:06.236565000 +0200
@@ -1,18 +1,23 @@
-# default: on
+# default: off
# description:
# The vsftpd FTP server serves FTP connections. It uses
# normal, unencrypted usernames and passwords for authentication.
# vsftpd is designed to be secure.
+#
+# NOTE: This file contains the configuration for xinetd to start vsftpd.
+# the configuration file for vsftp itself is in /etc/vsftpd.conf
+#
service ftp
{
socket_type = stream
+ protocol = tcp
wait = no
user = root
- server = /usr/local/sbin/vsftpd
-# server_args =
-# log_on_success += DURATION USERID
-# log_on_failure += USERID
- nice = 10
- disable = no
+ server = /usr/sbin/vsftpd
+# server_args =
+# log_on_success += DURATION USERID
+# log_on_failure += USERID
+# nice = 10
+ disable = yes
}