• 网络学院
  • IT资讯
  • 操作系统
  • 网络技术
  • 软件应用
  • 办公软件
  • 编程技术
  • 网站架设
  • 数据库类
  • 平面设计
  • 多媒体类
  • 游戏资讯
  • 教学论文
  • 认证考试
LINUX学习笔记--FTP服务器设置篇2
  站点:
  • 首 页
  • 最新软件
  • 文章教程
  • 国内软件
  • 国外软件
  • 绿色软件
  • 源码下载
  • 字体下载
LINUX学习笔记--FTP服务器设置篇2
软件发布 LINUX学习笔记--FTP服务器设置篇2
网络软件 系统工具 应用软件 联络聊天 图形图像 多媒体类 行业软件 游戏娱乐 编程开发 安全相关 教育教学 数码软件 绿软下载
热门软件: QQ 瑞星 pplive e话通 木马克星 千千静听 office2000 五笔字根 Photoshop 视频分割
返回文章教程首页 >> 文章首页 >> 网络技术 >> FTP服务器架设与维护 >> LINUX学习笔记--FTP服务器设置篇2

LINUX学习笔记--FTP服务器设置篇2

添加时间: 2007-9-1 21:39:08  作者: ftp服务器教程  阅读次数:23   来源: http://www.d9soft.com

        第二步:配置incoming子目录的权限

  打开proftpd.conf,在和段之间添加如下设置:




 Order allow,deny
 Allow from 10.0.8.
 Deny from all




  表示在incoming这个子目录下,从10.0.8这个网段登录的客户端有写入“WRITE”权限,其它人对该目录的写如权限都是被禁止的。如果要对所有的用户开放写入权限,只要把和之间的内容换成“Allowall“。

四、FTP服务器相关命令

1、ftpshut:关闭FTP服务,并在/etc下生成文件shutmsg。要重新开放FTP服务,把/etc/shutmsg删除。
2、ftpcout:FTP服务器在线人数信息显示。
3、ftpwho:FTP服务器在线人员名单。


附录:Proftpd.conf全文及解释

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "MY REDHAT LINUX FTP" #设定FTP服务器的名称

ServerType standalone #设置FTP以Standalone模式运行,而不是以dameon模式

DefaultServer on #默认FTP服务器工作

# Port 21 is the standard FTP port.

Port 21 #FTP服务默认占用的端口

# Umask 022 is a good standard umask to prevent new dirs and files

# from being group and world writable.
Umask 022 #默认

RequireValidShell off #保证匿名用户正常登录,不要更改

ServerIdent off #不显示ftp服务器版本信息,以增强安全性

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.

User nobody #设置FTP服务以nobody运行

Group nobody #注意:原来是“Group nobody”,一定要改为“Group nobody”

# Normally, we want files to be overwriteable.

 AllowOverwrite on


# A basic anonymous configuration, no upload directories.下面一段就是匿名服务的设置。


User ftp #匿名登录使用ftp用户

Group ftp #匿名登录使用ftp组

# We want clients to be able to login with "anonymous" as well as "ftp"

UserAlias anonymous guest #给ftp用户anonymous的别名,使得anonymous登录就是ftp用户登录。

# Limit the maximum number of anonymous logins

MaxClients 10 #最多10个匿名用户同时在线

# We want 'welcome.msg' displayed at login, and '.message' displayed

# in each newly chdired directory.

DisplayLogin welcome.msg #登录FTP显示的欢迎信息。放在FTP的根目录下。

DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot

#说明看正文。


Order allow,deny
Allow from 10.0.8.
Deny from all

 

上下文章:

 

上一篇文章: 国产FTP助手--网络传神2 下一篇文章: Linux下安PHP,APACHE,MYSQL,PERL方法3

相关文章:

  • Linux之父:最烦安全人士大肆宣扬软件漏洞
  • 腾讯QQ for Linux的后续改进计划
  • 用端口碰撞技术实现服务器远程管理
  • 以MDaemon为例解释邮件服务器的安全设置
  • 用Windows Server 2003架设小型邮件服务器

相关软件:

  • 21互联学习通 1.0
  • 北信源VRV 网络服务器端病毒库 90e
  • Sawmill for Linux V7.2.1
  • 勤哲Excel服务器 2005 V6.0 企业版客户端
  • 勤哲Excel服务器 2005 V6.0 企业版服务器端
  • 学习方法宝典 2006 新春贺年版

 

快速导航

  • 网络学院
  • 精品汇聚
  • 字体下载
  • 教程下载
  • ASP源码
  • PHP源码
  • Net源码
  • JSP 源码

网络技术分类导航

  • 局域网专栏
  • 病毒快报
  • 网络安全
  • 组网教程
  • WEB服务器架设与维护
  • FTP服务器架设与维护
  • DNS服务器架设与维护
  • 邮件服务器架设与维护

本类经典文章推荐

  • FlashFTP教程
  • FTP服务器端软件Serv-U教程(1)
  • FTP服务器端软件Serv-U教程(2)
  • FTP服务器端软件Serv-U教程(3)
  • FTP服务器端软件Serv-U教程(4)
  • FTP服务器端软件Serv-U教程(5)
  • FTP服务器端软件Serv-U教程(6)
  • FTP服务器安全
  • 关于ftp服务程序中不安全因素研究
  • IIS建立FTP就真的那么弱吗

FTP服务器架设与维护阅读排行

  • FlashFTP教程
  • FTP服务器端软件Serv-U教程(1)
  • 菜鸟也能架设FTP服务器 1
  • FTP服务器端软件Serv-U教程(2)
  • FTP服务器端软件Serv-U教程(3)
  • FTP服务器端软件Serv-U教程(6)
  • FTP服务器端软件Serv-U教程(4)
  • FTP服务器快速架设全功略
  • FTP服务器安全
  • FTP服务器端软件Serv-U教程(5)

网络技术阅读总排行

  • 网络解惑:找回消失的本地连接
  • 教你如何通过路由器来控制上网
  • 网卡故障排除技巧详解
  • FlashFTP教程
  • 网上邻居十大经典应用技巧
  • 如何有效建立Win2000 VPN服务器
  • 经济实惠:组建P2P电影服务器
  • 查找局域网络中的故障技巧
  • 南阳信息港被黑案告破!
  • 小区宽带主要常见故障解决办法

广告位置

字母检索 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 回到顶部

关于我们 | 版权声明 | 免责条款 | 广告联系 | 软件发布 | 下载帮助 | 下载排行 | 网站地图 | 特别鸣谢 | 友情连接

copyright; 2005-2008 D9soft.com 第九软件网 版权所有