个人工具
登录
查看“Index/guide/AllowAnonymousRead”的源代码 - Ubuntu中文
页面
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“Index/guide/AllowAnonymousRead”的源代码
来自Ubuntu中文
←
Index/guide/AllowAnonymousRead
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
==== How to configure FTP Server to allow anonymous FTP user to read only?(如何将 FTP 服务器设成只允许匿名 FTP 用户读取?) ==== * Read [[[../GeneralNotes|General Notes]]]<br>请参阅 [[[../GeneralNotes|简介]]]<br><br> * Read [[[../InstallFTP|How to install FTP Server for File Transfer service?]]]<br>请参阅 [[[../InstallFTP|如何安装 FTP 服务来提供文件传输服务]]] <pre><nowiki> sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup sudo gedit /etc/proftpd.conf </nowiki></pre> * Append the following lines at the end of file<br>在文件末尾添加下列几行 <pre><nowiki> <Anonymous ~ftp> User ftp Group nogroup UserAlias anonymous ftp DirFakeUser on ftp DirFakeGroup on ftp RequireValidShell off MaxClients 10 DisplayLogin welcome.msg DisplayFirstChdir .message <Directory *> <Limit WRITE> DenyAll </Limit> </Directory> </Anonymous> </nowiki></pre> * Save the edited file<br>保存编辑好的文件 <pre><nowiki> sudo /etc/init.d/proftpd restart </nowiki></pre>
返回至
Index/guide/AllowAnonymousRead
。