VSFTP problem solving

  • Support root login
    • Comment out in the / etc / vsftpd / {ftpusers, user_list} root
    • Add allow_writeable_chroot = YES, allowed to log in read-only file, otherwise it will report a 500 error
    • Add chroot_local_user = YES, let catalog positioned to log the user's home directory, and the root is the user's home directory
    • local_root = / root / root directory somedir set the login directory to a subdirectory in the user's home directory
    • All anonymous users about the commented out
  • lftp Login
    • lftp root@password:ipaddress
  • Active mode, vsftp using port 21, but the time to communicate with other hosts need to use ports between 20 and 1024-65535, so you need to add a new set of security rules

Guess you like

Origin www.cnblogs.com/megachen/p/12636483.html