From 1f85814e91c85052604c722d9b5f9ceefe52bc08 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 1 Feb 2016 01:53:38 +0800 Subject: [PATCH] update --- vsftpd/Dockerfile | 1 + vsftpd/README.md | 3 +-- vsftpd/vsftpd/vsftpd.conf | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vsftpd/Dockerfile b/vsftpd/Dockerfile index 96bcea6..27b94eb 100644 --- a/vsftpd/Dockerfile +++ b/vsftpd/Dockerfile @@ -14,6 +14,7 @@ RUN { \ echo "chroot_local_user=YES"; \ echo "ftpd_banner=Welcome to VSFTPD service."; \ echo "local_enable=YES"; \ + echo "no_anon_password=YES"; \ echo "pasv_addr_resolve=YES"; \ echo "pasv_address=my-ftp-server"; \ echo "pasv_enable=YES"; \ diff --git a/vsftpd/README.md b/vsftpd/README.md index 0038b08..17d8bec 100644 --- a/vsftpd/README.md +++ b/vsftpd/README.md @@ -29,6 +29,7 @@ force_local_logins_ssl=YES ftpd_banner=Welcome to VSFTPD service. listen=YES local_enable=YES +no_anon_password=YES pasv_addr_resolve=YES pasv_address=my-ftp-server pasv_enable=YES @@ -105,8 +106,6 @@ $ ftp my-ftp-server Connected to my-ftp-server. 220 Welcome to VSFTPD service. Name (my-ftp-server:kev): ftp -331 Please specify the password. -Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. diff --git a/vsftpd/vsftpd/vsftpd.conf b/vsftpd/vsftpd/vsftpd.conf index 6c6e8fd..c3b7938 100644 --- a/vsftpd/vsftpd/vsftpd.conf +++ b/vsftpd/vsftpd/vsftpd.conf @@ -8,6 +8,7 @@ force_local_logins_ssl=YES ftpd_banner=Welcome to VSFTPD service. listen=YES local_enable=YES +no_anon_password=YES pasv_addr_resolve=YES pasv_address=my-ftp-server pasv_enable=YES