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

34 lines
1.1 KiB
Diff
Raw Normal View History

--- vsftpd-2.0.4/xinetd.d/vsftpd
+++ vsftpd-2.0.4/xinetd.d/vsftpd
@@ -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
}