[原创]proftpd 以anonymous身份登录ftp

环境说明:ubuntu10.04  proftpd

打开/etc/proftpd/proftpd.conf

******************此处省略N个字儿*******************************

下面介绍anonymous部分

首先uncomment anonymous 部分(即#$$$$$$$$$$$$$$$$$$$所在行)

# A basic anonymous configuration, no upload directories.

<Anonymous /home/FTP-shared/download>          #anonymous登录ftp后的目录      #$$$$$$$$$$$$$$$$$$$

User ftp
UserAlias anonymous ftp     #重要        #UserAlias  "登录者的帐号" "实际linux主机的帐号"

# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # 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

# DisplayChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
#
# # Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
</Anonymous>                                                                                                  #$$$$$$$$$$$$$$$$$$$

转载于:https://www.cnblogs.com/hclmcu/archive/2012/03/02/2377703.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值