如何設定proftpd拒絕Anonymous登入



贊助商連結


fancybox
2005-07-15, 03:01 PM
我只想給我有設定帳號的人登入
不想給不認識的人登入
proftpd 可以拒絕Anonymous 登入嗎
請問該如何設定呢

贊助商連結


repsol
2005-07-15, 06:26 PM
<Anonymous ~ftp>
</Anonymous>

把這各區間整各 comment 起來 就應該可以啦..

阿 土
2005-07-15, 06:27 PM
proftpd.conf.default 預設檔裡面有下列設定
你把它拿來改成 proftpd.conf 時
把它全部刪除即可



# 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>

rayren
2005-08-06, 07:41 PM
建議改用VSFTP,安全性較高。