- 论坛徽章:
- 0
|
pure-ftp中怎么设置anonymous的登录根目录?
在 unix 下开一个 ftp 用户,把这个用户的 home dir 设置成 ftp 的根目录。
pure-ftp 启动时会自动把这个目录做成 anonymous ftp 。
pure-ftp 的 README 里有这么一段:
------------------------ SETTING UP AN ANONYMOUS FTP ------------------------
If a 'ftp' user exists, and its home directory is reachable, Pure-FTPd will
accept anonymous login, as 'ftp' or 'anonymous'. Files have to be located in
the home FTP directory. There's no need for 'bin', 'lib', 'etc' and 'dev'
directories, nor any external program. Don't chown the public files to
'ftp', just writable directories ('incoming') . |
|