VSFTPD. Conf configuration below
listen=YES
Anonymous_enable=YES
Local_enable=YES
Local_root=/home/demo
Anon_root=/var/FTP/anon
Dirmessage_enable=YES
Xferlog_enable=YES
Xferlog_file=/var/log/VSFTPD. Log
Xferlog_std_format=YES
Chroot_local_user=YES
Guest_enable=YES
Guest_username=guest
User_config_dir=/etc/VSFTPD
Pam_service_name=VSFTPD
Secure_chroot_dir=/var/run/VSFTPD/empty
Use_localtime=YES
Rsa_cert_file=/SSL/private/etc/VSFTPD. Pem
Allow_writeable_chroot=YES
# pam_service_name=VSFTPD
CodePudding user response:
To enable the root user.
Vi/etc/VSFTPD/user_list
Vi/etc/VSFTPD/ftpusers
Comment out the root
CodePudding user response: