- 论坛徽章:
- 0
|
proftpd的配置问题
- # A basic anonymous configuration, no upload directories.
- <Anonymous /mnt/backup/download/>;
- AccessDenyMsg "别急别急,慢慢来,擦..."
- AccessGrantMsg "到cloud家啦,可要乖乖的哦..."
- #Allow ffskyer login
- <Limit LOGIN>;
- AllowAll
- </Limit>;
- User ffskyer
- Group ffskyer
- AnonRequirePassword on
- # 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>;
复制代码
你那样是不行的,给你的最后加上上边的文字,根据你自己的情况修改一下。想把FTP用户限定在哪个目录,在<Anonymous /mnt/backup/download/>;设定。
以上
喜欢新田由加的siyeclover
|
|