diff -urN vsftpd-3.0.2.old/xinetd.d/vsftpd vsftpd-3.0.2/xinetd.d/vsftpd --- vsftpd-3.0.2.old/xinetd.d/vsftpd 2014-05-26 14:38:40.717042497 +0200 +++ vsftpd-3.0.2/xinetd.d/vsftpd 2014-05-26 14:41:23.753049249 +0200 @@ -1,18 +1,26 @@ -# 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 +# +# NOTE: Remember to set both listen and listen_ipv6 to NO in /etc/vsftpd.conf +# in order to have working xinetd connection. +# 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 = /etc/vsftpd.conf +# log_on_success += DURATION USERID +# log_on_failure += USERID +# nice = 10 + disable = yes }