- 论坛徽章:
- 0
|
怎样设定ftp用户的执行目录,使其不能进入上级目录?
设定ftp用户的执行目录怎样设定不允许匿名登录
- #<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>;
复制代码 |
|