vsftpd を xinetd 経由で動かす。


vi /etc/vsftpd/vsftpd.conf


listen=YES が有効になってるので、コメントアウト。


# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
# Start wuth xinetd
#listen=YES



/etc/init.d/vsftpd stop



# vi /etc/xinetd.d/vsftpd
service ftp
{
  disable = no
  socket_type = stream
  wait = no
  user = root
  server = /usr/sbin/vsftpd
  server_args = /etc/vsftpd/vsftpd.conf
  log_on_success += DURATION USERID
  log_on_failure += USERID
  nice = 10
}



/etc/init.d/xinetd restart