The root Account of the vsftp server cannot be used for ftp logon.
By default, vsftp does not allow root users to log on. you can modify the limits to solve this problem.
First, find the vsftp configuration directory.
[Root @ localhost vsftpd] # pwd
/Etc/vsftpd
[Root @ localhost vsftpd] # ls
Chroot_list ftpusers user_list vsftpd. conf vsftpd_conf_migrate.sh
[Root @ localhost vsftpd] #
Modify
[Root @ localhost vsftpd] # cat ftpusers
# Users that are not allowed to login via ftp
# Root
Bin
Daemon
Adm
Lp
Sync
Shutdown
Halt
Mail
News
Uucp
Operator
Games
Nobody
Modify
[Root @ localhost vsftpd] # cat user_list
# Vsftpd userlist
# If userlist_deny = NO, only allow users in this file
# If userlist_deny = YES (default), never allow users in this file, and
# Do not even prompt for a password.
# Note that the default vsftpd pam config also checks/etc/vsftpd/ftpusers
# For users that are denied.
# Root
Bin
Daemon
Adm
Lp
Sync
Shutdown
Halt
Mail
News
Uucp
Operator
Games
Nobody
The above two are the list of accounts that are not allowed to be used by vsftp by default. Let's talk about deleting the root account in the file, or add a # above to restart the vsftpd service.
-------------------------------------- Split line --------------------------------------
Four Advanced configurations of vsftpd Server:
VsFTPd configuration Tutorial:
Simple and practical Ubuntu FTP setup
Set up FTP server and Apache server on Ubuntu
Install the LAMP \ vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04
Simple case of anonymous uploading of SeLinux and vsftpd on the RHEL6 Platform
Install vsftpd source code in Linux
Case study of vsftpd Security Configuration
-------------------------------------- Split line --------------------------------------
This article permanently updates the link address: