我只想給我有設定帳號的人登入
不想給不認識的人登入
proftpd 可以拒絕Anonymous 登入嗎
請問該如何設定呢
可列印頁面
我只想給我有設定帳號的人登入
不想給不認識的人登入
proftpd 可以拒絕Anonymous 登入嗎
請問該如何設定呢
<Anonymous ~ftp>
</Anonymous>
把這各區間整各 comment 起來 就應該可以啦..
proftpd.conf.default 預設檔裡面有下列設定
你把它拿來改成 proftpd.conf 時
把它全部刪除即可
[quote]
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
#########################################################################
# #
# Uncomment lines with only one # to allow basic anonymous access #
# #
#########################################################################
#<Anonymous ~ftp>
# User ftp
# Group ftp
### We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
### Limit the maximum number of anonymous logins
# MaxClients 10
### We want 'welcome.msg' displayed at login, and '.message' displayed
### in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
### Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#</Anonymous>[/quote]
建議改用VSFTP,安全性較高。