根据上面的链接,如下两个选项有可能可以实现,不过我没时间测试,还得学习呢,你可以试试: ftp_username — Specifies the local user account (listed in /etc/passwd) used for the anonymous FTP user. The home directory specified in /etc/passwd for the user is the root directory of the anonymous FTP user.
The default value is ftp.
no_anon_password — When enabled, the anonymous user is not asked for a password.